[ https://issues.apache.org/jira/browse/THRIFT-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395897#comment-14395897 ]
ASF GitHub Bot commented on THRIFT-2441: ---------------------------------------- GitHub user jeking3 opened a pull request: https://github.com/apache/thrift/pull/424 [THRIFT-2441] prevent client connections from delaying server stop You can merge this pull request into a Git repository by running: $ git pull https://github.com/jeking3/thrift bugfix/THRIFT-2441-disconnect-clients-on-server-stop Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/424.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #424 ---- commit 4113f4f50bc4a6a1488b56db14a15e96527c44a7 Author: Jim King <jim.k...@simplivity.com> Date: 2015-04-04T19:26:54Z [THRIFT-2441] prevent client connections from delaying server stop ---- > Cannot shutdown TThreadedServer when clients are still connected > ---------------------------------------------------------------- > > Key: THRIFT-2441 > URL: https://issues.apache.org/jira/browse/THRIFT-2441 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Affects Versions: 0.9.1 > Reporter: Chris Stylianou > Assignee: Ben Craig > Attachments: THRIFT-2441-prelim.patch > > > When calling stop() on the TThreadedServer no interrupts are sent to the > client threads. This means the stop() call blocks on tasksMonitor.wait() > until all client naturally disconnect. > How can we tell the client thread connections to close/exit during the > TThreadedServer::stop() call? -- This message was sent by Atlassian JIRA (v6.3.4#6332)