[
https://issues.apache.org/jira/browse/THRIFT-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Meier resolved THRIFT-2092.
---------------------------------
Resolution: Fixed
Assignee: Roger Meier
committed
> 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
> Assignee: Roger Meier
> Attachments: THRIFT-2092.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)