You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jing Wang (JIRA)" <ji...@apache.org> on 2015/06/26 10:44:04 UTC

[jira] [Created] (THRIFT-3205) TCompactProtocol return a wrong error when the io.EOF happens

Jing Wang created THRIFT-3205:
---------------------------------

             Summary: TCompactProtocol return a wrong error when the io.EOF happens
                 Key: THRIFT-3205
                 URL: https://issues.apache.org/jira/browse/THRIFT-3205
             Project: Thrift
          Issue Type: Bug
          Components: Go - Library
    Affects Versions: 0.9.2
            Reporter: Jing Wang
             Fix For: 0.9.3


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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)