This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/15726] getaddrinfo() returns incorrect status


http://sourceware.org/bugzilla/show_bug.cgi?id=15726

--- Comment #19 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Rich Felker from comment #18)
> > --- Comment #16 from Thomas Hood <jdthood at gmail dot com> ---
> > Ubuntu has just released a new libc6 package which returns -2 (EAI_NONAME) both
> > when the nameserver can't be reached and when the name does not exist. Formerly
> 
> This is wrong too. The nameserver being unreachable does not tell you
> that the name does not exist. The right behavior is very simple; why
> can nobody get it right?

My plan is to write a technical memo on this as a glibc wiki page and use that
to educate people about the correct behaviour. Additionally it will serve as
rationale for RFC interpretations and to defined our choices (or adjust them
later). If you want to start drafting something I'd be more than happy :-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]