>
>
> This is not an accept problem, this is a problem with having serviced a

request via a socket and then closing the connection. Given that you

can't avoid accepting connections on a useful web server, you will not

be able to prevent them from going through their natural lifecycle.


>
Chris,

Thanks. I finally chose to write my own endpoint/HTTP protocol handler to
better address the use case of immediate connection reset under load
conditions. The acceptor logic in custom code simply closes socket when
there's no free worker available.

You'll notice in current implementation of tomcat JIOEndpoint, that the
acceptor thread waits for a free worker thread instead.

Timir

Reply via email to