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

Cannot shutdown TThreadedServer when clients are still connected

    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

        1. THRIFT-2441-prelim.patch
          24 kB
          James E. King III

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                chris5287 Chris Stylianou
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: