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/16849] New: getaddrinfo returns EAI_NONAME instead of EAI_AGAIN for network failures


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.


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