curl-library
Re: [PATCH] Re: libcurl memleak
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 31 Oct 2002 14:12:13 +0100 (MET)
Date: Thu, 31 Oct 2002 14:12:13 +0100 (MET)
On Wed, 30 Oct 2002, Avery Fay wrote:
> This solves the leak in my program. I'm going to go back and try without
> setting CURLOPT_DNS_CACHE_TIMEOUT to 0 to see if I can reproduce the
> crashes.
Goodie. Of course I hope you can't make it appear ever again, but if there's
still something bad lurking in there we should nail it.
> Also, what is the default for CURLOPT_DNS_USE_GLOBAL_CACHE? I was under the
> assumption that setting this to 0 would make a separate cache for each
> curl_easy instance. So, I should be safe setting it to 0 in a multithreaded
> environment.
That is correct. The default is zero and it should be perfectly safe to use
multi-threaded.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004enReceived on 2002-10-31