apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Arnaut <d...@haxent.com.br>
Subject Re: [Vote] Release APR 1.2.9/0.9.14 and apr-iconv 1.2.0
Date Wed, 06 Jun 2007 18:05:17 GMT
Lucian Adrian Grijincu wrote:
> I've gotten it down to this:
>        int getaddrinfo(const char *node, const char *service,
>                        const struct addrinfo *hints,
>                        struct addrinfo **res);
> 
> getaddrinfo hates "::1" as a node parameter.
> I've attached a tester for getaddrinfo (based on Ulrich Drepper's
> http://people.redhat.com/drepper/userapi-ipv6.html )
> 

<snip>

> 
> If anyone's got a clue, please say so ... I'm kind of in the mists now :)
> If not, when I get the time, I'll look into telnet's implementation to
> see what they do to accept "::1"
> 

See my email about it, message id <4666CFB0.4000700@haxent.com.br>

It boils down to a combination of ai_flags = AI_ADDRCONFIG and "::1"
(loopback address). The test is wrong, it should expect a failure (with
the current network_io code adding the AI_ADDRCONFIG flag).

--
Davi Arnaut

Mime
View raw message