From: Bryan Duxbury Date: Mon, 29 Aug 2011 18:50:12 +0000 (+0000) Subject: THRIFT-1304. cpp: TNonblockingServer: pass in the connection context to X-Git-Tag: 0.8.0~111 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=489f8f1d5961419d895cb6939b702a5e04efee66;p=common%2Fthrift.git THRIFT-1304. cpp: TNonblockingServer: pass in the connection context to process() Patch: Adam Simpkins git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1162943 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/server/TNonblockingServer.cpp b/lib/cpp/src/server/TNonblockingServer.cpp index a0810770..f43a1c9c 100644 --- a/lib/cpp/src/server/TNonblockingServer.cpp +++ b/lib/cpp/src/server/TNonblockingServer.cpp @@ -320,7 +320,8 @@ void TConnection::transition() { } else { try { // Invoke the processor - server_->getProcessor()->process(inputProtocol_, outputProtocol_, NULL); + server_->getProcessor()->process(inputProtocol_, outputProtocol_, + connectionContext_); } catch (const TTransportException &ttx) { GlobalOutput.printf("TNonblockingServer transport error in " "process(): %s", ttx.what());