Ted Wang created THRIFT-3953:
--------------------------------

             Summary: TSSLSocket::close should handle exceptions from 
waitForEvent because it is called by the destructor.
                 Key: THRIFT-3953
                 URL: https://issues.apache.org/jira/browse/THRIFT-3953
             Project: Thrift
          Issue Type: Bug
            Reporter: Ted Wang
            Assignee: Ted Wang


~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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to