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

TSSLSocket does not honor send and receive timeouts

    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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: