cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: CURLOPT_DNS_CACHE_TIMEOUT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 12 May 2008 13:11:08 +0200 (CEST)

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-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET