thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacquet Fabian (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 11:08:00 GMT

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

Jacquet Fabian commented on THRIFT-760:
---------------------------------------

hello all, I know this defect is closed but it has not been fixed for c++. I have a patch
for c++, how can I provide it?

> 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