[
https://issues.apache.org/jira/browse/THRIFT-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053660#comment-14053660
]
Konrad Grochowski commented on THRIFT-2092:
-------------------------------------------
any chance that this patch will be applied? (I've checked - still applies
correctly)
> 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
> 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)