zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Olivelli (Jira)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2490) infinitely connect on windows
Date Fri, 06 Sep 2019 15:42:07 GMT

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

Enrico Olivelli updated ZOOKEEPER-2490:
---------------------------------------
    Fix Version/s: 3.5.7

> infinitely connect on windows
> -----------------------------
>
>                 Key: ZOOKEEPER-2490
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2490
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.5.2
>         Environment: Windows
>            Reporter: spooky000
>            Assignee: spooky000
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0, 3.5.6, 3.5.7
>
>         Attachments: ZOOKEEPER-2490.patch, ZOOKEEPER-2490.patch, ZOOKEEPER-2490.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> in addrvec_contains function
> this memcmp always return false on windows release build.
> for (i = 0; i < avec->count; i++)
> {
>     if(memcmp(&avec->data[i], addr, INET_ADDRSTRLEN) == 0)
>         return 1;
> }
> because..
> #define INET_ADDRSTRLEN  16 on linux.
> #define INET_ADDRSTRLEN  22 on windows.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message