Konrad Grochowski created THRIFT-2092:
-----------------------------------------

             Summary: TNonblocking server should release handler as soon as 
connection closes
                 Key: THRIFT-2092
                 URL: https://issues.apache.org/jira/browse/THRIFT-2092
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
            Reporter: Konrad Grochowski


Because connections are cashed until new connection is accepted, handlers from 
*IfFactory are not released when connection closes.

This is a little inconvenient if for example, different handlers are used per 
user to hold some client session informations.

Change includes single line added in close - reset of processor_ shared_ptr. 
This pointer is later assigned in init (when connection is reused) so there 
shouldn't be any performance change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to