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

TSSLSocket does not honor send and receive timeouts

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.3
    • Fix Version/s: 0.10.0
    • Component/s: C++ - Library
    • Labels:
      None

      Description

      TSocket respects send and receive timeout, but TSSLSocket does not. This is because it always pass -1 to THRIFT_POLL in waitForEvent:
      https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/transport/TSSLSocket.cpp#L645

        Attachments

          Activity

            People

            • Assignee:
              tewang Ted Wang
              Reporter:
              tewang Ted Wang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment