[ https://issues.apache.org/jira/browse/THRIFT-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617541#comment-14617541 ]
ASF GitHub Bot commented on THRIFT-3182: ---------------------------------------- Github user marshalium commented on the pull request: https://github.com/apache/thrift/pull/512#issuecomment-119360734 I've pushed a commit that uses TTransportException instead of a new subclass. This should be ready to review again. > TFramedTransport is in an invalid state after frame size exception > ------------------------------------------------------------------ > > Key: THRIFT-3182 > URL: https://issues.apache.org/jira/browse/THRIFT-3182 > Project: Thrift > Issue Type: Bug > Components: Java - Library > Affects Versions: 0.9.2 > Reporter: Marshall Scorcio > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)