curl-library
Re: dns timeouts in current version?
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 26 Sep 2005 19:40:50 +0200 (CEST)
Date: Mon, 26 Sep 2005 19:40:50 +0200 (CEST)
On Thu, 22 Sep 2005, Michael Mastroianni wrote:
> I'm running 7.14.1 on a couple of flavors of linux and windows. I've got my
> timeout set to 3 seconds (this is for a spider), and have not set
> connectiontimeout (I'm using the default resolver). I've noticed that DNS
> lookups can take longer than my overall timeout (I have the nosignal option
> set).
> Is there any way around this? Should I use the connectiontimeout? Should I
> go back to using ares?
The only ways around it are the ones you've explicitly disabled: use signals
(with the connection timeout) or c-ares!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-09-26