cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: It's a bad idea to do this, isn't it?

From: Ben Noordhuis <info_at_bnoordhuis.nl>
Date: Fri, 18 Mar 2011 21:11:09 +0100

On Fri, Mar 18, 2011 at 20:57, Saqib Ali <saqib.ali.75_at_gmail.com> wrote:
> Within my progress-callback function, when I got to 100% transferred, I was
> deleting the corresponding curl handle.
> It was then crashing. That's probably a really bad thing to do, from within
> the callback, isn't it?

Hah, yes. That's like sawing off the rungs off a ladder while you are
standing on it.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-18