You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2016/11/14 16:18:59 UTC

[jira] [Assigned] (THRIFT-3953) TSSLSocket::close should handle exceptions from waitForEvent because it is called by the destructor.

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

James E. King, III reassigned THRIFT-3953:
------------------------------------------

    Assignee: James E. King, III  (was: Ted Wang)

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