This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10567] getaddrinfo() hints==NULL (ai_flags) deviates from POSIX.1
- From: "pfee at talk21 dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Oct 2009 22:08:27 -0000
- Subject: [Bug libc/10567] getaddrinfo() hints==NULL (ai_flags) deviates from POSIX.1
- References: <20090827100713.10567.mtk.manpages@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pfee at talk21 dot com 2009-10-09 22:08 -------
Can some details be added as to why the glibc defaults are better than the POSIX standard.
The default only applies if hints==NULL. If the POSIX defaults are non-optimal, then users of
other systems (e.g. Solaris) would find it useful to know that different settings are preferred.
On Solaris 10, setting hints to NULL results in POSIX defined behaviour.
Are the reasons behind glibc's defaults unique to glibc or are they related to network effects
which would apply to any OS or C resolver library. If the settings are valid everywhere then
getaddrinfo() users would benefit from using them on non-glibc platforms.
Thanks.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10567
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.