[ 
https://issues.apache.org/jira/browse/THRIFT-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990151#comment-14990151
 ] 

Marshall Scorcio commented on THRIFT-3182:
------------------------------------------

Awesome. Thanks [~nsuke]!

> 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
>             Fix For: 1.0
>
>
> 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)

Reply via email to