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_);