[ 
https://issues.apache.org/jira/browse/THRIFT-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Grant updated THRIFT-760:
-------------------------------

    Attachment: thrift-seqid.patch

Attached a patch for the Java generator that sets and checks the sequence ID

> Generated client code does not set or check the sequence ID in messages
> -----------------------------------------------------------------------
>
>                 Key: THRIFT-760
>                 URL: https://issues.apache.org/jira/browse/THRIFT-760
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Java)
>    Affects Versions: 0.2
>            Reporter: James Grant
>            Priority: Minor
>         Attachments: thrift-seqid.patch
>
>
> The sequence ID is never set in the generated client code. It is also never 
> checked. This means that if you continue to use a connection after a socket 
> timeout the returned results can arrive out of sequence. When this happens an 
> exception should be thrown so that incorrect results are never returned.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to