cURL / Mailing Lists / curl-library / Single Mail


Re: Is it normal to the progress callback be called once again after returning non-zero value?

From: Daniel Stenberg <>
Date: Tue, 10 Jun 2014 00:01:53 +0200 (CEST)

On Sat, 7 Jun 2014, Ray Satiro wrote:

> Returning a non-zero value from this callback will cause libcurl to abort
> the transfer and return CURLE_ABORTED_BY_CALLBACK. That implies to me at
> least that a progress function would not be called again if it aborts.

Thanks a lot for the detailed stack trace, it made me figure out a lot and I
believe the attached patch is the correct fix.

I'd be happy if either one of you could try it and verify that it does what I
hope it does - I have not ran the test recipe myself!


List admin:

Received on 2014-06-10