thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-4904) Python TSocket read() and write() allow low level exceptions to escape
Date Sat, 06 Jul 2019 10:29:00 GMT
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)

Mime
View raw message