[ https://issues.apache.org/jira/browse/ZOOKEEPER-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842739#action_12842739 ]
Benjamin Reed commented on ZOOKEEPER-677: ----------------------------------------- looks good mahadev. thanx for fixing. one problem: {quote} LOG_ERROR(("getaddrinfo: %s\n", strerror(errno))); + errno = getaddrinfo_errno(rc); {quote} should be {quote} + errno = getaddrinfo_errno(rc); LOG_ERROR(("getaddrinfo: %s\n", strerror(errno))); {quote} any idea why the test is failing? > c client doesn't allow ipv6 numeric connect string > -------------------------------------------------- > > Key: ZOOKEEPER-677 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-677 > Project: Zookeeper > Issue Type: Bug > Components: c client > Affects Versions: 3.2.2 > Reporter: Patrick Hunt > Assignee: Mahadev konar > Priority: Critical > Fix For: 3.3.0 > > Attachments: ZOOKEEPER-677.patch, ZOOKEEPER-677.patch > > > The c client doesn't handle ipv6 numeric addresses as they are colon : > delmited. After splitting the host/port on : we look for the port as the > second entry in the array rather than the last entry in the array. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.