Github user Jens-G commented on a diff in the pull request: https://github.com/apache/thrift/pull/1093#discussion_r80308383 --- Diff: lib/php/lib/Thrift/Protocol/TBinaryProtocol.php --- @@ -246,6 +257,10 @@ public function readMessageBegin(&$name, &$type, &$seqid) } } + if ($seqid != $this->seqid_) { + throw new TApplicationException("TBinaryProtocol::ReadMessageBegin received SequenceID: $seqid not matches requested ID: $this->seqid_ " . TApplicationException::BAD_SEQUENCE_ID); + } --- End diff -- Ah, got it. Sorry, but you are doing it wrong.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---