[ 
https://issues.apache.org/jira/browse/THRIFT-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13976098#comment-13976098
 ] 

Hudson commented on THRIFT-2466:
--------------------------------

FAILURE: Integrated in Thrift #1138 (See 
[https://builds.apache.org/job/Thrift/1138/])
THRIFT-2466: Improper error handling for SSL/TLS connections that don't 
complete a handshake (roger: rev ab2793aa966d3a40a89fe4b392d3cc286721f36d)
* lib/py/src/server/TServer.py
* lib/py/src/server/TProcessPoolServer.py


> 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
>            Assignee: Roger Meier
>         Attachments: 
> THRIFT-2466-Silently-ignore-clients-that-couldn-t-be-created.patch
>
>
> 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)

Reply via email to