public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures
@ 2014-04-16 14:02 siddhesh at redhat dot com
2014-05-15 7:08 ` [Bug network/16849] " cvs-commit at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: siddhesh at redhat dot com @ 2014-04-16 14:02 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16849
Bug ID: 16849
Summary: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN
for network failures
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: network
Assignee: siddhesh at redhat dot com
Reporter: siddhesh at redhat dot com
When a DNS query fails due to a network failure, the failure is considered
transient for AF_INET and AF_INET6 lookups and hence EAI_AGAIN is returned.
However, when the new AF_UNSPEC support was added (by using gethostbyname4_r),
the returned error is EAI_NONAME.
Patch coming up.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug network/16849] getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures
2014-04-16 14:02 [Bug network/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures siddhesh at redhat dot com
@ 2014-05-15 7:08 ` cvs-commit at gcc dot gnu.org
2014-05-15 7:11 ` siddhesh at redhat dot com
2014-06-12 19:41 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-05-15 7:08 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16849
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via cf26a0cb6a0bbaca46a01ddad6662e5e5159a32a (commit)
from a5d87b3db4f40a0f07e41f1986ac7f330743a0e7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cf26a0cb6a0bbaca46a01ddad6662e5e5159a32a
commit cf26a0cb6a0bbaca46a01ddad6662e5e5159a32a
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu May 15 12:33:11 2014 +0530
Return EAI_AGAIN for AF_UNSPEC when herrno is TRY_AGAIN (BZ #16849)
getaddrinfo correctly returns EAI_AGAIN for AF_INET and AF_INET6
queries. For AF_UNSPEC however, an older change
(a682a1bf553b1efe4dbb03207fece5b719cec482) broke the check and due to
that the returned error was EAI_NONAME.
This patch fixes the check so that a non-authoritative not-found is
returned as EAI_AGAIN to the user instead of EAI_NONAME.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 4 ++--
sysdeps/posix/getaddrinfo.c | 3 +--
3 files changed, 9 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug network/16849] getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures
2014-04-16 14:02 [Bug network/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures siddhesh at redhat dot com
2014-05-15 7:08 ` [Bug network/16849] " cvs-commit at gcc dot gnu.org
@ 2014-05-15 7:11 ` siddhesh at redhat dot com
2014-06-12 19:41 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: siddhesh at redhat dot com @ 2014-05-15 7:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16849
Siddhesh Poyarekar <siddhesh at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Siddhesh Poyarekar <siddhesh at redhat dot com> ---
Fixed in master.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug network/16849] getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures
2014-04-16 14:02 [Bug network/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures siddhesh at redhat dot com
2014-05-15 7:08 ` [Bug network/16849] " cvs-commit at gcc dot gnu.org
2014-05-15 7:11 ` siddhesh at redhat dot com
@ 2014-06-12 19:41 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-12 19:41 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16849
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-12 19:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16 14:02 [Bug network/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures siddhesh at redhat dot com
2014-05-15 7:08 ` [Bug network/16849] " cvs-commit at gcc dot gnu.org
2014-05-15 7:11 ` siddhesh at redhat dot com
2014-06-12 19:41 ` fweimer at redhat dot com
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).