TNonblockingServer.idleWriteBufferLimit

Max write buffer size for an idle connection. When we place an idle Connection into connectionStack_ or on every resizeBufferEveryN_ calls, we ensure that its write buffer is <= to this size; otherwise we replace it with a new one of writeBufferDefaultSize_ bytes to ensure that idle connections don't hog memory. 0 disables this check.

  1. size_t idleWriteBufferLimit;
    class TNonblockingServer
    size_t idleWriteBufferLimit;
  2. enum size_t DEFAULT_IDLE_WRITE_BUFFER_LIMIT;

Meta