curl-library
Re: A new callback function: XFERINFO ?
From: NSRT Mail account. <joecool22us_at_yahoo.com>
Date: Sun, 23 Jun 2013 04:36:10 -0700 (PDT)
Date: Sun, 23 Jun 2013 04:36:10 -0700 (PDT)
>Yes probably, and in the *getinfo() department we also have a bunch of
more size and speed counters we can provide as curl_off_t that are
doubles today:
>CURLINFO_CONTENT_LENGTH_DOWNLOAD
>CURLINFO_CONTENT_LENGTH_UPLOAD
These I agree with.
>CURLINFO_SPEED_DOWNLOAD
>CURLINFO_SPEED_UPLOAD
I can see this making sense as a double. Isn't the speed averaged over time? That allows for fractions.
In general, I think we should use the same types as used internally, and not cast them.
-Nach
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-06-23