You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Benoit Sigoure (JIRA)" <ji...@apache.org> on 2014/04/14 04:21:14 UTC
[jira] [Created] (THRIFT-2466) Improper error handling for SSL/TLS
connections that don't complete a handshake
Benoit Sigoure created THRIFT-2466:
--------------------------------------
Summary: Improper error handling for SSL/TLS connections that don't complete a handshake
Key: THRIFT-2466
URL: https://issues.apache.org/jira/browse/THRIFT-2466
Project: Thrift
Issue Type: Bug
Components: Python - Library
Affects Versions: 0.9.1
Reporter: Benoit Sigoure
The code in {{TSSLServerSocket.accept()}} silently drops all {{SSLError}} and returns {{None}} instead, but none of the {{TServer}} implementations handle this case properly, which cause them to pass {{None}} around a bunch, which eventually cause weird {{AttributeError}} exceptions.
This bug is easy to reproduce: just open a socket to a Python Thrift server that uses SSL/TLS and close the connection right away.
--
This message was sent by Atlassian JIRA
(v6.2#6252)