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 2019/07/06 10:29:00 UTC

[jira] [Created] (THRIFT-4904) Python TSocket read() and write() allow low level exceptions to escape

James E. King III created THRIFT-4904:
-----------------------------------------

             Summary: Python TSocket read() and write() allow low level exceptions to escape
                 Key: THRIFT-4904
                 URL: https://issues.apache.org/jira/browse/THRIFT-4904
             Project: Thrift
          Issue Type: Bug
          Components: Python - Library
    Affects Versions: 0.12.0
            Reporter: James E. King III


The calls to socket send() and recv() inside write() and read() were allowing exceptions to escape:

- OSError
- socket.error
- ssl.Error

These need to be captured and translated to an appropriate TTransportException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)