httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46195] ProxyPass fails with literal IPv6 address
Date Sun, 08 Jan 2012 18:01:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46195

--- Comment #4 from Stefan Fritsch <sf@sfritsch.de> 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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message