[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Reed updated ZOOKEEPER-677:
------------------------------------

    Attachment: ZOOKEEPER-677.patch

this patch finds the port using strrchr instead of strchr to allow ipv6 
addresses. the test case assumes that localhost is reachable with ::1

> 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
>            Priority: Critical
>             Fix For: 3.3.0
>
>         Attachments: 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.

Reply via email to