cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cURL bug -- Segmentation Fault when timeout is 1 second

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Tue, 03 Feb 2009 22:52:58 +0100

"Daniel Marschall" <info_at_daniel-marschall.de> wrote:

> I think, I found a bug of libCURL.

I think I've found a bug in your code....

... * snip *
>
> string buffer;
> curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer);
.... * snip *
>
> http_call();
> sleep(2);

Do you see the problem now?

--gv
Received on 2009-02-03