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

Bug#158036: libc6: getaddrinfo(3) should do socket(2) test



Package: libc6
Version: 2.2.5-6
Severity: wishlist

It would be nice if getaddrinfo(3) did a (cached) socket(2) test before
looking up names in a particular address family.  For instance, it could
avoid doing IPv6 lookups if the kernel does not support IPv6.

This should solve most of those bug reports coming from people complaining
about getaddrinfo(3) ignoring hosts for IPv6 records not explicitly
stated in it.  It will also be save a lot of system calls and network
traffic on pure IPv4 machines which currently constitutes the majority
of our user base.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.18-686-smp #1 SMP Sun Apr 14 12:07:19 EST 2002 i686 unknown unknown GNU/Linux




Reply to: