[ https://issues.apache.org/jira/browse/THRIFT-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664320#comment-15664320 ]
ASF GitHub Bot commented on THRIFT-3953: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/1118 > 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: James E. King, III > Fix For: 0.11.0 > > > ~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)