[
https://issues.apache.org/jira/browse/THRIFT-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury updated THRIFT-1420:
----------------------------------
Attachment: thrift-1420.patch
This version is slightly modified so that the test will actually pass for any
exception BUT a SocketTimeoutException. Also, I had to port the fix over to
ThreadedSelectorServer.
> Nonblocking and HsHa server should make sure to close all their socket
> connections when the selector exits
> ----------------------------------------------------------------------------------------------------------
>
> Key: THRIFT-1420
> URL: https://issues.apache.org/jira/browse/THRIFT-1420
> Project: Thrift
> Issue Type: Bug
> Components: Java - Library
> Reporter: Bryan Duxbury
> Assignee: Bryan Duxbury
> Attachments: THRIFT-1420.diff, thrift-1420.patch
>
>
> The way it currently works, if the server is commanded to stop, then clients
> will be left hanging, waiting for IO that will never complete. We should make
> sure that we clean up any open sockets on our way out of the selector.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira