You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2012/07/01 01:34:43 UTC
[jira] [Updated] (ZOOKEEPER-1494) C client: socket leak after
receive timeout in zookeeper_interest()
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michi Mutsuzaki updated ZOOKEEPER-1494:
---------------------------------------
Attachment: ZOOKEEPER-1493_3_4.patch
ZOOKEEPER-1493_3_3.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-1493_3_3.patch, ZOOKEEPER-1493_3_4.patch, 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