curl-library
Re: [PATCH] fix memory leak in lib/easy
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 6 Mar 2009 23:10:02 -0700
Date: Fri, 6 Mar 2009 23:10:02 -0700
On Thu, Mar 05, 2009 at 10:15:53AM +0100, Kamil Dudka wrote:
> Can you give a simple example of lib/easy usage, when this patch does not work
> properly? In this case do we have another solution to free resources?
libcurl keeps a cache of open connections to servers that it reuses when
possible. Those connections are closed when curl_global_cleanup is called.
Also, reinitializing libcurl (with curl_global_init) can be expensive, and
this patch will cause it to be done for every single easy handle when only
one is used at a time.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2009-03-07