|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3415046 ] Resolution name hangs longer than specified timeout
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 29 Sep 2011 23:37:56 +0200
Bugs item #3415046, was opened at 2011-09-28 16:58
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
I am experiencing a problem with the name resolution, either with c-ares enabled or not. In both cases, if the resolution is not possible (for example by setting a wrong DNS in /etc/resolv.conf or by removing the ethernet cable), libcurl hangs for several seconds before returning, although a timeout is set to 1 second.
Precision: As I am working on UNIX system, I've set the CURLOPT_NOSIGNAL option as recommended, thus avoiding a segfault.
Here is what I observe:
Source code is attached (based on mutli-single.c example sample code from curl.haxx.se), as is config.log file (generated at libcurl's build).
Any idea, suggestion or help will be very much appreciated :) Thanks in advance.
Best Regards.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
In 7.21.3 we bugfixed multi interface timeouts. I believe there have been
If you need more specific details, I recommend you bisect or just read git
----------------------------------------------------------------------
Comment By: Philippe Demange (phdems)
Message:
* I used the tag Curl-7_21_0 from official repo:
I am going to test with the latest version also.
* libc-ares is 1.7.3-1 (debian testing official package), its soname is
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
Comment By: Philippe Demange (phdems)
Message:
./configure --prefix=/usr --host=sh4-stlinux23-linux-gnu
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info