Constructor
Constructor, uses the default fiber stack size.
Constructor, uses the default setting for buffered socket writing.
Constructor, uses the default fiber stack size and the default setting for buffered socket writing.
Local aliases for SelectReader and SelectWriter.
Called by IConnectionHandler.finalize(), in order to determine if an I/O error was reported for the connection conduit which made the connection automatically being closed. (See comment for IConnectionHandler.finalize() method.)
Resettable interface method, resets the reader.
If true, a buffered writer is used by default.
IOWarning exception instance used by the reader and writer.
SelectReader and SelectWriter used for asynchronous protocol i/o.
Default fiber stack size (16K in 64-bit builds, 8K in 32-bit builds).
Exception type alias. If handle() catches exceptions, it must rethrow these.
Fiber to handle an single connection.
Called by the select listener right after the client connection has been assigned.
Formats information about the connection into the provided buffer. This method is called from the SelectListener in order to log information about the state of all connections in the pool.
Called by finalize to unregister the connection socket from epoll before closing it. This is done because closing a socket does not always mean that it is unregistered from epoll -- in situations where the process has forked, the fork's reference to the underlying kernel file description will prevent it from being unregistered until the fork exits. Therefore, to be certain that the socket will not fire again in epoll, we need to explicitly unregister it.
Connection handler method. If it catches exceptions, it must rethrow those of type KilledException.
Standard fiber connection handler class using the basic FiberSelectReader and FiberSelectWriter.