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
- From: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 25 Mar 2013 18:44:20 +0530
- Subject: Re: [PATCH][BZ #14719] Return EAI_SYSTEM from getaddrinfo if we run out of fds
- References: <20121023171835 dot 09f1b085 at spoyarek> <20130325125824 dot GA11387 at altlinux dot org>
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've reopened #14719 and will work on it.
Siddhesh
--
http://siddhesh.in