[ https://issues.apache.org/jira/browse/THRIFT-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211421#comment-14211421 ]
ASF GitHub Bot commented on THRIFT-2817: ---------------------------------------- Github user cvlchinet commented on the pull request: https://github.com/apache/thrift/pull/264#issuecomment-62982101 Ok I checked the options to write a test. It is quite complicated, because this bug only occurs when using real sockets. So when using a Buffer for the tests it won't work. I don't see a straightforward to write a mock either. An integration test, would catch it immediately. I see the lib has some kind of integration tests? right? I couldn't find out yet, how they work though. Is there a integration test concept? > TSimpleJSONProtocol reads beyond end of message > ----------------------------------------------- > > Key: THRIFT-2817 > URL: https://issues.apache.org/jira/browse/THRIFT-2817 > Project: Thrift > Issue Type: Bug > Components: Go - Library > Reporter: Chi Vinh Le > > The TSimpleJSONProtocol reads beyond end of message, which prevent processing > the message until more data arrives. > https://github.com/apache/thrift/pull/264 -- This message was sent by Atlassian JIRA (v6.3.4#6332)