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

TCompactProtocol return a wrong error when the io.EOF happens

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.9.3
    • Component/s: Go - Library
    • Labels:
      None

      Description

      When Transport return a io error, TCompactProtocol.ReadMessageBegin method will not process these error firstly, and cause the protocol returned a wrong error:
      fmt.Errorf("Expected protocol id %02x but got %02x", COMPACT_PROTOCOL_ID, protocolId)

        Attachments

          Activity

            People

            • Assignee:
              wangjild Jing Wang
              Reporter:
              wangjild Jing Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: