cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Write callback compared to progress callback

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Jan 2008 23:51:02 +0100 (CET)

On Tue, 8 Jan 2008, Andreas Volz wrote:

> I use a write and a progress callback in my application. I'm wondering that
> the progress callback runs several time even that it has yet 100%
> downloaded. The write callback isn't called then.

[..]

> Downloaded 7200 bytes of total 8008 bytes (89.910090%)
> write: 808
>
> Downloaded 8008 bytes of total 8008 bytes (100.000000%)
>
> Downloaded 8008 bytes of total 8008 bytes (100.000000%)
>
> Any ideas why this happens?

Uhm.... no! ;-O

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-01-08