cURL / Mailing Lists / curl-library / Single Mail

curl-library

A new callback function: XFERINFO ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 15 Jun 2013 15:05:03 +0200 (CEST)

Hi friends,

It has been discussed so many times I decided to just make it. Attached here
is my first take on a new progress callback that doesn't use any double
(floating point) variable types. They were always a bad design choice that
have just been following along since the age of dawn.

We're in a feature freeze for another week so this is shown here to attract
your feedback and comments. What do you miss in the current callback and is
there any other design mistakes with the former one that we can fix while at
it?

For example, we can perhaps fix that annoying thing that we set unknown values
to 0 instead of signalling it a really nice way... (as 0 can also mean that it
is actually known to be 0!)

Thoughts?

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2013-06-15