apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm MacCarthaigh <c...@stdlib.net>
Subject Re: [Vote] Release APR 1.2.9/0.9.14 and apr-iconv 1.2.0
Date Wed, 06 Jun 2007 23:56:26 GMT
On Wed, Jun 06, 2007 at 08:49:06PM -0300, Davi Arnaut wrote:
> > Why wouldn't that fail?
> 
> Sorry, it should have been:
> 
> getaddrinfo("::1", NULL, {.family=AF_UNSPEC, .hints=0|AI_ADDRCONFIG}) = 0:
>  family=30, proto= 6 inet6: addr=::1, port=0, flowinfo=0
> 
> Last question (sorry for wasting your time), why this one succeeded?

If you don't have a public IPv6 address, per the RFC - it should fail,
it's a resolver bug. 

In the real world, it could be NSCD, or another libc cache :-)

-- 
Colm MacCárthaigh                        Public Key: colm+pgp@stdlib.net

Mime
View raw message