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/11/19 15:22:00 UTC
[jira] [Assigned] (THRIFT-4904) Python TSocket read() and write()
allow low level exceptions to escape
[ https://issues.apache.org/jira/browse/THRIFT-4904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III reassigned THRIFT-4904:
-----------------------------------------
Assignee: (was: James E. King III)
> 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
> Priority: Major
>
> 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
(v8.3.4#803005)