cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: memory does not freed in windows

From: Meir Yanovich <meiry242_at_gmail.com>
Date: Wed, 15 Oct 2008 23:01:06 +0200

yes im talking about the easy handle , so if i understand you right i
can reuse the :
m_pcurl = curl_easy_init(); that is set it only once.
and then when i end the requests i call the :curl_global_cleanup();

but what about : curl_easy_cleanup(m_pcurl) ? do i still need it do i
call it also in the end of the program ?
Thanks

On Wed, Oct 15, 2008 at 9:38 PM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Wed, Oct 15, 2008 at 09:16:40PM +0200, Meir Yanovich wrote:
>> ok thanks , and if im here already i have one more question
>> the code above is called each time i connected to url and retrive the
>> info from the page ( with GET)
>> do i really need to init the curl every time on each request ?
>> or there is any other way some thing like init the curl make my
>> requests and then deinit curl ?
>
> Are you talking about the easy handle? You can reuse it for many requests;
> just reset the URL and/or any other options then call curl_easy_perform
> on it again.
>
>>>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address service
> Let webmasters know that your web site has moved
>
Received on 2008-10-15