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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.12.0
    • None
    • Python - Library
    • 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

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

            Dates

              Created:
              Updated: