cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Progress callbacks in curl_multi_perform

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 1 Mar 2008 15:55:59 +0100 (CET)

On Sat, 1 Mar 2008, mini thomas wrote:

> Why progress callback is not recommended with multi_perform ?

Because you have all the info and full control of execution already, no need
to use extra callbacks then. But sure, you can still use it fine.

> Which is the best way to get progress of upload ?

Well, you know how much data libcurl has asked your callback for...

> Can someone give me an example for using a read callback with
> curl_multi_perform.?

The read callback works exactly the same no matter what libcurl interface you
use.

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