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

TSSLSocket does not honor send and receive timeouts

    XMLWordPrintableJSON

Details

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

        Issue Links

          Activity

            People

              tewang Ted Wang
              tewang Ted Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: