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: Thu, 5 Jun 2014 22:24:40 +0200 (CEST)

On Thu, 5 Jun 2014, Jonathan C. wrote:

> Let's say that after returning 1 from the PROGRESSFUNCTION/XFERINFOFUNCTION
> callback, it's then called again, is that possible, if not, there is any way
> that can happen?
> (Returning non-zero value should trigger a error immediately right?)

It should, yes. If it behaves differently at any point I would consider that
room for improvement!

List admin:
Received on 2014-06-05