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)