Michi Mutsuzaki created ZOOKEEPER-1494:
------------------------------------------

             Summary: C lient: 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.3.5, 3.4.2
            Reporter: Michi Mutsuzaki
            Assignee: Michi Mutsuzaki
             Fix For: 3.3.6, 3.4.4, 3.5.0


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