This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #14719] Return EAI_SYSTEM from getaddrinfo if we run out of fds
On 25 March 2013 18:28, Dmitry V. Levin <ldv@altlinux.org> wrote:
> As a side effect of this change, ECONNREFUSED results to EAI_SYSTEM
> instead of EAI_AGAIN. Caught by gnulib's test-getaddrinfo which now fails
> when no network is available:
> http://git.savannah.gnu.org/cgit/gnulib.git/tree/tests/test-getaddrinfo.c
> Other apps may rely on getaddrinfo returning EAI_AGAIN in case of
> ECONNREFUSED, so this is a regression.
I am not able to reproduce this either with networking disabled (i.e.
no nameservers defined, interfaces down, etc.) or with an invalid
nameserver (an active host that does not have anything listening on 53
udp or tcp). In both cases I get EAI_NONAME with 2.15 as well as
2.17. Can you provide steps to reproduce?
Thanks,
Siddhesh
--
http://siddhesh.in