curl-library
RE: Cancelling cUrl process in the middle
Date: Tue, 29 Nov 2011 08:20:40 +0000
I was using v.22 but I will install v.23 and see if same problem exists on that as well. I receive leak problems on url.c and smtp.c I will let you know about the results
> Date: Thu, 24 Nov 2011 23:28:06 +0100
> From: daniel_at_haxx.se
> To: curl-library_at_cool.haxx.se
> Subject: Re: Cancelling cUrl process in the middle
>
> On Wed, 23 Nov 2011, Nazim Oztahtaci wrote:
>
> > I have a question. I try to use a timer object in my module which fires and
> > calls its call-back function if my cUrl (Smtp) module cannot finish a
> > process (which is sending a mail in my case). The call back function must
> > remove and cancel the cUrl handler object and that's why I try to use
> > multi_cleanup and easy_cleanup and then I re-initialize the easy and multi
> > interfaces for re-usage in the future. However this causes memory leaks. Is
> > there anyone who did a similar concept? I mean maybe there is a function or
> > option which I miss?
>
> It's really not clear to me exactly what you do and how you see a memory leak.
> But no, multi_cleanup and easy_cleanup should be enough.
>
> Can you produce a proper recipe for us that reproduces the leak with the
> latest libcurl so that we can have a look?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-29