zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ZOOKEEPER-677) c client doesn't allow ipv6 numeric connect string
Date Mon, 08 Mar 2010 17:17:27 GMT

    [ 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.


Mime
View raw message