Benjamin Reed commented on ZOOKEEPER-667:

the source of all truth, aka wikipedia 
http://en.wikipedia.org/wiki/IPv6_address notes that for URLs with ipv6 
addresses they use http://[blah:blah::blah]:port. perhaps we should use this 
syntax as well.

btw, i also noticed with some testing that if you bind to ::1, you cannot 
connect to it using binding to you cannot connect using 
::1, but you can use ::ffff: binding to ::ffff: you can 
connect using and ::ffff: but not ::1.

> java client doesn't allow ipv6 numeric connect string
> -----------------------------------------------------
>                 Key: ZOOKEEPER-667
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-667
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.2.2
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>            Priority: Critical
>             Fix For: 3.3.0
> The java 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