cURL / Mailing Lists / curl-library / Single Mail


Re: Multi interface -- some trouble

From: Daniel Stenberg <>
Date: Wed, 18 Feb 2004 11:23:46 +0100 (CET)

On Tue, 17 Feb 2004, Andy Serpa wrote:

> The crash occurs when I set the CURL_OPT_CACHE_TIMEOUT to either -1 (cache
> forever) or 0 (cache disabled). It doesn't seem to matter if

First: global cache is badness, don't use that! ;-)

Thanks for your research on the reasons for your problems. I've done some
basic attempts with using -1 or 0 on the cache timeout in one of my test
programs and it worked fine, but I have fixed one pretty serious "inuse"
counter screw-up in the cache code (and one case of cache timeout -1 not doing
right) that might be the reason(s) for your problems.

So, this bug *might* be fixed in the current dev version. Since you say you
can't build your own .DLL from this code, I don't know how to verify if this
is true or not.

    Daniel Stenberg -- --
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-18