Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2441

Cannot shutdown TThreadedServer when clients are still connected

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.3
    • Component/s: C++ - Library
    • Labels:
      None

      Description

      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?

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              chris5287 Chris Stylianou

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment