cURL / Mailing Lists / curl-library / Single Mail


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

From: Dan Fandrich <>
Date: Fri, 18 Mar 2011 13:11:55 -0700

On Fri, Mar 18, 2011 at 03:57:48PM -0400, Saqib Ali 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?

Yes. When the callback returns, there's no handle left for the caller to access.

>>> Dan
List admin:
Received on 2011-03-18