cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PROGRESSFUNCTION does not work as described

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Jun 2013 23:31:18 +0200 (CEST)

On Thu, 13 Jun 2013, NSRT Mail account. wrote:

>> with a frequent interval during operation (roughly once per second or
>> sooner)
>
> Perhaps the meaning is ambiguous, but the documentation suggests that the
> callback is generally called once per second, and sometimes a little bit
> more. Meaning the expectation is that if an operation takes 100 seconds, the
> callback will be called 100 times, or 100 times plus a small percentage.

I don't think the calling frequency is a problem. I think the documentation
can be improved, indeed. The phrasing originates from the old days and it
haven't kept up with the code changes.

Suggestions?

-- 
  / 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-13