Author: roger
Date: Wed Jul 18 05:42:51 2012
New Revision: 1362773
URL: http://svn.apache.org/viewvc?rev=1362773&view=rev
Log:
THRIFT-1064 TClientInfoServerHandler::processContext() is not called for
TNonblockingServer server event handler
Patch: Pavlin Radoslavov
Modified:
thrift/trunk/lib/cpp/src/thrift/server/TNonblockingServer.cpp
Modified: thrift/trunk/lib/cpp/src/thrift/server/TNonblockingServer.cpp
URL:
http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/src/thrift/server/TNonblockingServer.cpp?rev=1362773&r1=1362772&r2=1362773&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/src/thrift/server/TNonblockingServer.cpp (original)
+++ thrift/trunk/lib/cpp/src/thrift/server/TNonblockingServer.cpp Wed Jul 18
05:42:51 2012
@@ -615,6 +615,10 @@ void TNonblockingServer::TConnection::tr
return;
} else {
try {
+ if (serverEventHandler_ != NULL) {
+ serverEventHandler_->processContext(connectionContext_,
+ getTSocket());
+ }
// Invoke the processor
processor_->process(inputProtocol_, outputProtocol_,
connectionContext_);