[PATCH] Immediately try next nameserver on recv() failure

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Jul 28 12:46:22 UTC 2010


On Wed, Jul 28, 2010 at 04:25:57PM +0400, Roman I Khimov wrote:
>В сообщении от Среда 21 июля 2010 15:29:05 автор Ingo van Lil написал:
>> If there is a problem communicating with a nameserver the __dns_lookup()
>> function will not immediately advance to the next nameserver but instead
>> continue waiting until the timeout expires. This will cause a 30 second
>> delay even if no nameserver is configured in resolv.conf and no DNS is
>> running on localhost.
>> ---
>>  libc/inet/resolv.c |    4 +++-
>>  1 files changed, 3 insertions(+), 1 deletions(-)
>
>Acked-by: Roman I Khimov <khimov at altell.ru>

sounds plausible, yes.
Ingo, can you please resend with a Signed-off-by line?
TIA,


More information about the uClibc mailing list