[ 
https://issues.apache.org/jira/browse/THRIFT-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James E. King, III resolved THRIFT-3953.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0

> 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)

Reply via email to