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

TConnectedClient does not disconnect from clients when their timeout is reached.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.3, 0.10.0
    • 0.10.0
    • C++ - Library
    • None
    • Patch Available
    • Patch

    Description

      When starting the TestServer with the first appended patch:

      bin/TestServer --protocol=json --transport=http --server-type=thread-pool --port=9080
      

      And connecting to it with this shell command:

      wget --post-data='[' http://localhost:9080
      

      The connection stays up for a long time. Making DOS attacks very easy, because at some point the server runs out of available client connections.

      The second appended patch fixes the issue in TConnectedClient.

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              cmhe Claudius Heine
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: