This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures
- From: "siddhesh at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 16 Apr 2014 14:02:09 +0000
- Subject: [Bug network/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures
- Auto-submitted: auto-generated
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.