On Mar 21, 2007, at 1:00 PM, Eric Busto wrote:
In this situation, it isn't entirely clear what layer should take responsibility for closing sockets when they are no longer needed. PoCo::Server::HTTP doesn't necessarily know if the browser is going to make another request over the same socket. By default, in accordance with HTTP 1.1 (I believe), the socket is just left open.
The socket should be closed by the server after a certain timeout period, for example Apache uses 15 seconds as the default time out for keep-alive connections (KeepAliveTimeout).