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

Cannot shutdown TThreadedServer when clients are still connected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.3
    • C++ - Library
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: