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

TSSLSocket::close should handle exceptions from waitForEvent because it is called by the destructor.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • None

    Description

      ~TSSLSocket calls TSSLSocket::close, which calls TSSLSocket::waitForEvent.

      TSSLSocket::waitForEvent() throws an exception in some cases:

      • Unexpected error
      • InterruptListener has been written to
      • poll() times out

      TSSLSocket::close should log the error but not emit an exception, similar to how it handles errors from SSL_shutdown.

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              tewang Ted Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: