https://issues.apache.org/bugzilla/show_bug.cgi?id=52884
--- Comment #3 from Joe Orton <[email protected]> --- I can reproduce this, it is another weird AI_ADDRCONFIG getaddinfo() thing. Using people.apache.org/~jorton/gai.c $ ./gai localhost getaddrinfo("localhost", NULL, {.family=AF_UNSPEC, .hints=0}) = 0: family=10, proto= 6 inet6: addr=::1, port=0, flowinfo=0 family= 2, proto= 6 inet4: addr=127.0.0.1, port=0 $ ./gai -a localhost getaddrinfo("localhost", NULL, {.family=AF_UNSPEC, .hints=0|AI_ADDRCONFIG}) = 0: family= 2, proto= 6 inet4: addr=127.0.0.1, port=0 family= 2, proto= 6 inet4: addr=127.0.0.1, port=0 ... where /etc/hosts has both "localhost" and "localhost.domain" mapping to 127.0.0.1. Google says there is some... "disagreement" about whether this is app/libc/distro problem. Sigh. I guess we could work around it in APR by ignoring duplicate addresses. -- 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]
