cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
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!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-06-05