[
https://issues.apache.org/jira/browse/THRIFT-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15109272#comment-15109272
]
ASF GitHub Bot commented on THRIFT-3560:
----------------------------------------
Github user szenker commented on the pull request:
https://github.com/apache/thrift/pull/798#issuecomment-173338811
With the term "pipelining" I mean the following in this context:
1.) A client is allowed to send out a consecutive request even before it
has received the response of the preceding request.
2.) When a server receives several requests from a particular client, it
may sends back the responses in a different order than it received the requests.
This doesn't work with the current cob style implementation, as the seqid
is set to 0 in all requests/reponses.
> C++ TTransport::isOpen() and TTransport::getOrigin() should be const member
> functions
> -------------------------------------------------------------------------------------
>
> Key: THRIFT-3560
> URL: https://issues.apache.org/jira/browse/THRIFT-3560
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.9.3, 0.9.4, 1.0
> Reporter: Sebastian Zenker
> Priority: Minor
> Labels: easyfix
>
> ... as they should not alter the state of TTransport. Also peek() should be
> const in my opinion, but this requires some more refactoring.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)