users@jersey.java.net

[Jersey] Re: CLOSE_WAIT sockets on client disconnect

From: <rpujar_at_inocybe.com>
Date: Wed, 3 Aug 2016 18:53:16 +0000 (UTC)

Hi John, thank you for your insight.
The client indeed uses disconnect() to close the socket. The client
also has a 15sec timeout. So if the client is able to access the port
but does not receive any response within 15s it disconnects.
Would there be any other possibility that I could verify to make sure I
avoid running into such file descriptor leak issues?
Thank you..