cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_xferinfo_callback

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Aug 2013 16:10:01 +0200 (CEST)

On Thu, 1 Aug 2013, Yang Tse wrote:

> Since this release introduces curl_xferinfo_callback, it might be the moment
> to evaluate if this new callabck should also have another argument
> indicating that current call is the last one (called internally from
> Curl_pgrsDone) or not. This could be used to fix curl tool currently
> skipping last time progress info.

That's a really fine idea yes that's slightly different than the "state" idea
previously mentioned before.

I would like to provide the state with a new *getinfo() option so that it can
be fetched from all callbacks but I haven't gotten around to actually write
any code for it (yet).

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-08-01