commit | ae44abc6f93165968d82b7b7e50b4c5b99f5c332 | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Wed Jul 18 05:42:51 2012 +0000 |
committer | Roger Meier <roger@apache.org> | Wed Jul 18 05:42:51 2012 +0000 |
tree | ca84500b379e3e99202188a65ec74dbc788d69d1 | |
parent | 3fcdb09267f280c041dc1e613cb4bf42ac880516 [diff] |
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
diff --git a/lib/cpp/src/thrift/server/TNonblockingServer.cpp b/lib/cpp/src/thrift/server/TNonblockingServer.cpp index 3e95508..cac7a0a 100644 --- a/lib/cpp/src/thrift/server/TNonblockingServer.cpp +++ b/lib/cpp/src/thrift/server/TNonblockingServer.cpp
@@ -615,6 +615,10 @@ return; } else { try { + if (serverEventHandler_ != NULL) { + serverEventHandler_->processContext(connectionContext_, + getTSocket()); + } // Invoke the processor processor_->process(inputProtocol_, outputProtocol_, connectionContext_);