Whether to listen on IPv6 only, if IPv6 support is detected
Return count of number of connections which are currently processing.
Returns the number of currently active connections, i.e. open sockets.
Returns the number of connection objects allocated, but not in use.
Hysteresis for overload state.
The task pool to use for processing requests. If null, no additional threads are used and request are processed »inline«.
Duration between bind() retries.
Number of bind() retries.
The action which will be taken on overload.
Hysteresis for overload state.
Limit for how many Connection objects to cache.
Max read buffer size for an idle Connection. When we place an idle Connection into connectionStack_ or on every resizeBufferEveryN_ calls, we will free the buffer (such that it will be reinitialized by the next received frame) if it has exceeded this limit. 0 disables this check.
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.
Limit for number of connections processing or waiting to process
Limit for number of open connections before server goes into overload state.
Maximum frame size, in bytes.
Every N calls we check the buffer size limits on a connected Connection. 0 disables (i.e. the checks are only done when a connection closes).
The write buffer is initialized (and when idleWriteBufferLimit_ is checked and found to be exceeded, reinitialized) to this size.
Limit for how many Connection objects to cache.
Max read buffer size for an idle Connection. When we place an idle Connection into connectionStack_ or on every resizeBufferEveryN_ calls, we will free the buffer (such that it will be reinitialized by the next received frame) if it has exceeded this limit. 0 disables this check.
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.
Limit for number of connections processing or waiting to process
Limit for number of open connections before server goes into overload state.
Maximum frame size, in bytes.
The action which will be taken on overload.
Every N calls we check the buffer size limits on a connected Connection. 0 disables (i.e. the checks are only done when a connection closes).
The write buffer is initialized (and when idleWriteBufferLimit_ is checked and found to be exceeded, reinitialized) to this size.
Starts serving.
The server event handler to notify. Null by default.