Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4904

Python TSocket read() and write() allow low level exceptions to escape

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.12.0
    • Fix Version/s: None
    • Component/s: Python - Library
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              jking3 James E. King III
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: