cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: CURLOPT_DNS_CACHE_TIMEOUT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 May 2008 23:25:32 +0200 (CEST)

On Tue, 13 May 2008, wangjun wrote:

Please don't top-post!

> first question is about the CURLOPT_CONNECTTIMEOUT ,Does it include the DNS
> resolv time,or just is time between DNS resolv success to connect over;

It includes everything until the connect is done. Name resolve and TCP
connect.

> second question :can we set timeout of DNS resolv like
> CURLOPT_CONNECTTIMEOUT .

Not independently, no.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-05-13