cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl in a comet connection

From: Dirk Manske <>
Date: Fri, 4 Mar 2011 14:43:55 +0100

> It seems that all the received data was cached in memory by libcurl,
> and the data will not be freed untill the curl handle is cleanup.
What curl version? Curl had in the past some memory leaks.
Test with a current version if you have used an old version.

Are you sure that the memory is freed after libcurl cleanup
and not by program end? Maybe the leak is in your code.

> Is there anyone can help me?
Use a tool like valgrind to hunt for memory leaks.

And without your code it's hard to to help you.
Can you send us at least your write callback?
List admin:
Received on 2011-03-04