curl-library
Re: A new callback function: XFERINFO ?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 23 Jun 2013 18:56:47 +0200 (CEST)
Date: Sun, 23 Jun 2013 18:56:47 +0200 (CEST)
On Sun, 23 Jun 2013, NSRT Mail account. wrote:
>> 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.
Right, they _could_ use doubles for this but we already use curl_off_t
internally...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-06-23