From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8664 invoked by alias); 16 Apr 2014 14:02:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 8641 invoked by uid 48); 16 Apr 2014 14:02:12 -0000 From: "siddhesh at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures Date: Wed, 16 Apr 2014 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: siddhesh at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00096.txt.bz2 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.