From 489f8f1d5961419d895cb6939b702a5e04efee66 Mon Sep 17 00:00:00 2001 From: Bryan Duxbury Date: Mon, 29 Aug 2011 18:50:12 +0000 Subject: [PATCH] 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 --- lib/cpp/src/server/TNonblockingServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.17.1