https://issues.apache.org/bugzilla/show_bug.cgi?id=46195

--- Comment #4 from Stefan Fritsch <[email protected]> 2012-01-08 18:01:25 UTC 
---
(In reply to comment #3)
> Diagnosis for the record: apr_sockaddr_info_get is being passed flags of 0 in
> proxy_util.c at line 2134 of proxy_util.c (2.2.17).  Passing it
> APR_IPV6_ADDR_OK fixes it.

It passes family APR_UNSPEC, i.e. APR_IPV6_ADDR_OK should only change which
addresses are returned first, not if they are returned at all. If
apr_sockaddr_info_get() doesn't return v6 addresses without APR_IPV6_ADDR_OK
that would be a bug in apr.

On the other hand, apr passes AI_ADDRCONFIG to getaddrinfo() in this case, so
glibc's rather broken algorithm for checking IPv6 support could also be at
fault (at least on Linux).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to