THRIFT-1304. cpp: TNonblockingServer: pass in the connection context to
authorBryan Duxbury <bryanduxbury@apache.org>
Mon, 29 Aug 2011 18:50:12 +0000 (18:50 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Mon, 29 Aug 2011 18:50:12 +0000 (18:50 +0000)
process()

Patch: Adam Simpkins

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1162943 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/server/TNonblockingServer.cpp

index a081077..f43a1c9 100644 (file)
@@ -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());