cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Progress callback frequency

From: Wei Weng <wweng_at_cs.columbia.edu>
Date: Wed, 12 Nov 2003 18:13:17 -0500

I just asked the same question a couple of days back. :)

On Wednesday 12 November 2003 06:00 pm, David Eklund wrote:
> Apologies if this is documented somewhere, but I haven't been able to
> find it...
>
> When using the CURLOPT_PROGRESSFUNCTION, how often and under what
> criteria does the progress function get called? Is it based on amount of
> data pulled down (eg. for every 10 kb), after a certain amount of time
> (eg. every second), or some other basis?

I think the answer was once per second.

<snip>
>
> Finally, is there any way to change how frequently it gets called? I'm
> guessing the answer is essentially "no," but it can't hurt to ask.

no, You can't.

Thanks,

Wei

-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
Received on 2003-11-13