Hi friends!

I'm working on a patch[*] that brings a set of new options to curl_easy_getinfo() to allow applications to extract size and transfer speed operations using curl_off_t types instead of of doubles.

I'd like to see this done primarily for these reasons:

 - curl_off_t is more "natural" and less surprising for this kind of data
 - floating point is inexact and annoying for comparisons
 - curl_off_t can actually hold larger sizes

(Internally the data is already kept using curl_off_t)

Any thoughts, questions or comments on this?

[*] = https://github.com/curl/curl/pull/1511

--

 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to