You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by br...@apache.org on 2011/08/29 20:50:13 UTC

svn commit: r1162943 - /thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp

Author: bryanduxbury
Date: Mon Aug 29 18:50:12 2011
New Revision: 1162943

URL: http://svn.apache.org/viewvc?rev=1162943&view=rev
Log:
THRIFT-1304. cpp: TNonblockingServer: pass in the connection context to
process()

Patch: Adam Simpkins

Modified:
    thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp

Modified: thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp?rev=1162943&r1=1162942&r2=1162943&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp (original)
+++ thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp Mon Aug 29 18:50:12 2011
@@ -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());