cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Re: CURLOPT_DNS_CACHE_TIMEOUT
Thanks for you reply,and I have another two question:
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;
second question :can we set timeout of DNS resolv like CURLOPT_CONNECTTIMEOUT .
发件人： Daniel Stenberg
发送时间： 2008-05-12 19:18:05
收件人： libcurl development
主题： Re: CURLOPT_DNS_CACHE_TIMEOUT
On Mon, 12 May 2008, wangjun wrote:
> I have a question while using CURLOPT_DNS_CACHE_TIMEOUT ,if we set it to -1
> (to make the cached entries remain forever),and after we transmit over ,thus
> ,Does it still valid after we use curl_easy_cleanup?
No, as the DNS cache is stored in the easy handle it gets killed too. Unless
you use the share interface to make it "live" outside of the easy handle
Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-05-13
These mail archives are generated by hypermail.
Page updated November 12, 2010.
File upload with ASP.NET
web site info