[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404129#comment-13404129
 ] 

Mahadev konar commented on ZOOKEEPER-1494:
------------------------------------------

Also a 3.4 patch. 
                
> C client: socket leak after receive timeout in zookeeper_interest()
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1494
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1494
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.2, 3.3.5
>            Reporter: Michi Mutsuzaki
>            Assignee: Michi Mutsuzaki
>             Fix For: 3.3.6, 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1494.patch, ZOOKEEPER-1494.patch
>
>
> In zookeeper_interest(), we set zk->fd to -1 without closing it when timeout 
> happens. Instead we should let handle_socket_error_msg() function take care 
> of closing the socket properly.
> --Michi

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to