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

TFramedTransport is in an invalid state after frame size exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.10.0
    • Component/s: Java - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      https://github.com/apache/thrift/pull/512

      This is necessary because after reading the invalid
      frame size from the underlying transport the transport
      is left in a bad state. Any following reads will
      likely throw more invalid frame size exceptions and
      if they don’t they will be reading corrupted messages.

      Closing forces the caller to discard the connection and
      get a new one.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marshalium Marshall Scorcio
                Reporter:
                marshalium Marshall Scorcio
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: