public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug network/15726] getaddrinfo() returns incorrect status
Date: Thu, 18 Jul 2013 07:05:00 -0000 [thread overview]
Message-ID: <bug-15726-131-48e6ZqywHk@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15726-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15726
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
--- Comment #13 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Rich Felker from comment #12)
> Conceptually, this whole topic is very simple. getaddrinfo has two
> "successful" result possibilities, 0 and EAI_NONAME.
>
> 0 means a successful query was performed and returned a result.
>
> EAI_NONAME means a successful query was performed and determined that the
> queried name does not (by hostname lookup) or cannot (by virtue of being an
> invalid ip string) exist.
>
> All other result codes indicate to the application that something went wrong
> during the name resolving process, and that the result is indeterminate.
What about EAI_NODATA which glibc still uses? It would seem that EAI_NODATA is
more likely be returned in the current implementation than EAI_NONAME (which is
mostly returned for the parameter errors discussed).
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2013-07-18 7:05 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-10 18:04 [Bug network/15726] New: getaddrinfo() error codes kurt at roeckx dot be
2013-07-10 21:15 ` [Bug network/15726] " schwab@linux-m68k.org
2013-07-10 21:35 ` kurt at roeckx dot be
2013-07-10 21:44 ` schwab@linux-m68k.org
2013-07-10 21:45 ` kurt at roeckx dot be
2013-07-11 10:04 ` [Bug network/15726] getaddrinfo() returns incorrect status jdthood at gmail dot com
2013-07-11 13:27 ` zackw at panix dot com
2013-07-11 13:37 ` jdthood at gmail dot com
2013-07-11 16:54 ` kurt at roeckx dot be
2013-07-12 10:03 ` jdthood at gmail dot com
2013-07-14 16:08 ` bugdal at aerifal dot cx
2013-07-18 7:05 ` carlos at redhat dot com [this message]
2013-07-18 14:58 ` bugdal at aerifal dot cx
2013-07-18 17:45 ` carlos at redhat dot com
2013-07-30 7:05 ` jdthood at gmail dot com
2013-07-30 7:16 ` siddhesh at redhat dot com
2013-07-30 12:07 ` bugdal at aerifal dot cx
2013-07-31 4:08 ` carlos at redhat dot com
2013-08-09 14:35 ` kurt at roeckx dot be
2013-08-09 16:05 ` carlos at redhat dot com
2013-08-13 15:38 ` kurt at roeckx dot be
2013-08-13 19:25 ` carlos at redhat dot com
2013-08-24 18:08 ` kurt at roeckx dot be
2013-08-28 4:53 ` carlos at redhat dot com
2013-08-28 9:04 ` bugdal at aerifal dot cx
2013-08-28 21:20 ` kurt at roeckx dot be
2013-08-30 1:10 ` bugdal at aerifal dot cx
2013-08-30 7:11 ` kurt at roeckx dot be
2013-09-01 0:46 ` jdthood at gmail dot com
2013-09-01 2:11 ` jdthood at gmail dot com
2014-03-20 16:51 ` jdthood at gmail dot com
2014-03-21 11:26 ` jdthood at gmail dot com
2014-06-13 13:24 ` fweimer at redhat dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-15726-131-48e6ZqywHk@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=glibc-bugs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).