From ae44abc6f93165968d82b7b7e50b4c5b99f5c332 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Wed, 18 Jul 2012 05:42:51 +0000 Subject: [PATCH] THRIFT-1064 TClientInfoServerHandler::processContext() is not called for TNonblockingServer server event handler Patch: Pavlin Radoslavov git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1362773 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cpp/src/thrift/server/TNonblockingServer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/cpp/src/thrift/server/TNonblockingServer.cpp b/lib/cpp/src/thrift/server/TNonblockingServer.cpp index 3e95508e..cac7a0a1 100644 --- a/lib/cpp/src/thrift/server/TNonblockingServer.cpp +++ b/lib/cpp/src/thrift/server/TNonblockingServer.cpp @@ -615,6 +615,10 @@ void TNonblockingServer::TConnection::transition() { return; } else { try { + if (serverEventHandler_ != NULL) { + serverEventHandler_->processContext(connectionContext_, + getTSocket()); + } // Invoke the processor processor_->process(inputProtocol_, outputProtocol_, connectionContext_); -- 2.17.1