[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#629899: ap_get_local_host is broken (can't always determine the server's FQDN)



One can reproduce that bug by having IPv6 only on eth0 and no other interface
with IPv4 but localhost, and /etc/hosts matching `hostname` on any lo address.

Call (forward) trace:
ap_get_local_host
apr_sockaddr_info_get
find_addresses
call_resolver
getaddrinfo

... that fails since it is using AI_ADDRCONFIG flag on loopback interface

This bug is actually the same as 500558.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: