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

TThreadPoolServer with Sasl auth may leak CLOSE_WAIT socket

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
    • Fix Version/s: 0.9.3
    • Component/s: Java - Library
    • Labels:
      None

      Description

      Start TThreadPoolServer to server with TSaslServerTransport.Factory as transportFactory. While using nc to test the specified port whether reachable, it will leak CLOSE_WAIT socket.That's because nc will close socket at once while successful connect TThreadPoolServer, but the server still try using sasl protocol to build an inputTransport which of course failed at once. However inputTransport is null which makes it can't close socket properly which lead to CLOSE_WAIT socket.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              punwinger Winger Pun

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment