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: strange memory "leak" with libcurl, ssl, network errors

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 3 Feb 2010 23:32:04 +0100 (CET)

On Tue, 2 Feb 2010, Michael Schuster wrote:

> I'm seeking assistance with a rather problematic issue I've been working on
> for a while, and would welcome all/any thoughts, pointers, RTFMs ... you're
> willing to share.

Thanks for the very detailed report.

Unfortunately (I think?) I can't repeat this in my end on my Debian Linux. I
tried this with libcurl 7.19.7 (my stock Debian version).

I edited away the glib-related details from the curltest.c example and when
running as instructed I can see the curltest process use the same amount of
memory all the time...

I then fired up the curltest program with valgrind --leak-check=full, had it
run for a while before I control-c'ed it, and it showed no leaks either!

I'm attaching my edited version of curltest.c to show you what I used.

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-02-03

These mail archives are generated by hypermail.

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

File upload with ASP.NET