[ https://issues.apache.org/jira/browse/ZOOKEEPER-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782457#comment-13782457 ]
Patrick Hunt commented on ZOOKEEPER-1756: ----------------------------------------- Hi Eric, you can use git however you need to use "git diff --no-prefix" to generate it. Our automation uses regular "patch -p0 < file.patch" to apply the changes and test them. Give that a try. thanks. > zookeeper_interest() in C client can return a timeval of 0 > ---------------------------------------------------------- > > Key: ZOOKEEPER-1756 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1756 > Project: ZooKeeper > Issue Type: Bug > Components: c client > Affects Versions: 3.3.4, 3.4.5 > Reporter: Eric Lindvall > Assignee: Eric Lindvall > Fix For: 3.5.0, 3.4.6 > > Attachments: 0001-Ensure-send_to-is-positive.patch, > zookeeper-3.4.5-send_to-fix.patch > > > If the client is connected to a zookeeper server that has hung while there is > an outstanding request, zookeeper_interest() can return a timeval of 0 > because send_to will be negative. -- This message was sent by Atlassian JIRA (v6.1#6144)