[
https://issues.apache.org/jira/browse/ZOOKEEPER-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451890#comment-13451890
]
Hudson commented on ZOOKEEPER-1494:
-----------------------------------
Integrated in ZooKeeper-trunk #1675 (See
[https://builds.apache.org/job/ZooKeeper-trunk/1675/])
ZOOKEEPER-1494. C client: socket leak after receive timeout in
zookeeper_interest() (Michi Mutsuzaki via mahadev) (Revision 1382661)
Result = SUCCESS
mahadev :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1382661
Files :
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/c/src/zookeeper.c
> 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.4.4, 3.5.0
>
> Attachments: ZOOKEEPER-1494-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
For more information on JIRA, see: http://www.atlassian.com/software/jira