thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-760) Generated client code does not set or check the sequence ID in messages
Date Fri, 02 Feb 2018 18:36:00 GMT

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

Jens Geyer commented on THRIFT-760:
-----------------------------------

http://thrift.apache.org/docs/HowToContribute

> 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: Java - Compiler
>    Affects Versions: 0.2
>            Reporter: James Grant
>            Assignee: James Grant
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--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 was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message