cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: download manager features: pause/resume, multi, bandwidth control

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 20 Mar 2007 16:06:39 +0100 (CET)

On Tue, 20 Mar 2007, Dely Nicolas wrote:

> It seems that pause/resume feature is not available as is using libcurl,

Correct. pause/resume isn't currently supported. See Andrew Penner's thread
posted just a few hours before your mail:

         http://curl.haxx.se/mail/lib-2007-03/0233.html

> I would like to tell easy handle to pause its data fetching and be able to
> resume transfer later? I don't know if curl_easy_perform allows this kind of
> behavior or maybe add this feature in my progress function.

I'm not sure it is worth the trouble to add it to the easy interface, but
Andrew's approach for the multi interface seems straight-forward and I guess
you should be able to use that too, right?

> The second feature I would like to implement is the ability to assign
> "priority"/bandwidth limit to items in download list like *mule does (High,
> medium, low) and change the bandwidth of one or more while the download is
> performing

How exactly would that work and why can't we leave that sort of fiddle to the
application to decide?

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