From: Bryan Duxbury Date: Tue, 3 Jan 2012 17:35:26 +0000 (+0000) Subject: THRIFT-1479. php: Compiled PHP process functions missing writeMessageEnd() X-Git-Tag: 0.9.1~478 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=bad4174a57b849054293cc8f829c638383ecc2f5;p=common%2Fthrift.git THRIFT-1479. php: Compiled PHP process functions missing writeMessageEnd() This patch adds in the missing call. Patch: Andrew Grumet git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1226892 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/compiler/cpp/src/generate/t_php_generator.cc b/compiler/cpp/src/generate/t_php_generator.cc index 8381793e..ab308ab1 100644 --- a/compiler/cpp/src/generate/t_php_generator.cc +++ b/compiler/cpp/src/generate/t_php_generator.cc @@ -1243,6 +1243,7 @@ void t_php_generator::generate_process_function(t_service* tservice, f_service_ << indent() << "$output->writeMessageBegin('" << tfunction->get_name() << "', " << NS_ROOT << "TMessageType::REPLY, $seqid);" << endl << indent() << "$result->write($output);" << endl << + indent() << "$output->writeMessageEnd();" << endl << indent() << "$output->getTransport()->flush();" << endl; }