Re: cancel transfer cleanly
Date: Thu, 16 Apr 2009 18:25:09 -0500
On Apr 16, 2009, sundararaj.reel_at_googlemail.com wrote:
> How do I trigger an immediate and clean stop of transfer ?
You can return non-zero from your CURLOPT_PROGRESSFUNCTION
callback, which should get called approximately once every second.
(Hopefully that will be fast enough)
Note that you also need to set CURLOPT_NOPROGRESS set to zero
in order to enable the progress callback.
Received on 2009-04-17