[ 
https://issues.apache.org/jira/browse/THRIFT-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14511148#comment-14511148
 ] 

Hudson commented on THRIFT-2441:
--------------------------------

SUCCESS: Integrated in Thrift #1517 (See 
[https://builds.apache.org/job/Thrift/1517/])
THRIFT-2441 Cannot shutdown TThreadedServer when clients are still connected 
(bencraig: rev 1684c429501e9df9387cb518e660691f032d7926)
* lib/cpp/src/thrift/server/TThreadPoolServer.cpp
* lib/cpp/test/TServerSocketTest.cpp
* lib/cpp/test/Makefile.am
* lib/cpp/src/thrift/server/TSimpleServer.cpp
* lib/cpp/src/thrift/server/TThreadPoolServer.h
* lib/cpp/src/thrift/server/TSimpleServer.h
* lib/cpp/test/TServerIntegrationTest.cpp
* lib/cpp/test/TServerTransportTest.cpp
* configure.ac
* lib/cpp/src/thrift/server/TThreadedServer.h
* lib/cpp/src/thrift/transport/TServerSocket.h
* lib/cpp/src/thrift/transport/TSocket.h
* .gitignore
* lib/cpp/src/thrift/transport/TServerSocket.cpp
* lib/cpp/test/CMakeLists.txt
* lib/cpp/src/thrift/transport/TServerTransport.h
* lib/cpp/src/thrift/transport/TSocket.cpp
* lib/cpp/test/TSocketInterruptTest.cpp
* lib/cpp/src/thrift/server/TThreadedServer.cpp


> 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)

Reply via email to