Comment 5 for bug 633981

Revision history for this message
Stefan Fritsch (sf-sfritsch) wrote :

It seems reasonable to not listen on IPv6 if no v6 address is configured. Unfortunately, Apache (or rather APR) does this by using getaddrinfo's AI_ADDRCONFIG flag. And glibc seems to ignore IPv6 addresses of scope host (i.e. ::1) when deciding if an v6 address is configured. For me, the default fe80::* address of scope link that is configured on eth0 is enough to make getaddrinfo return v6 addresses. If I delete that address, getaddressinfo returns only the v4 address.

So, this looks more like a problem of eglibc than apache/APR to me.