>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

Reply via email to