cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Throttling Curl

From: Stuart Halliday <stuart_at_stuarthalliday.com>
Date: Tue, 28 May 2002 20:35:27 +0100

In message <Pine.GSO.4.43.0205280000430.5474-100000_at_pm1.contactor.se>
          Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 27 May 2002, Stuart Halliday wrote:
>
> > Is there someway to have a switch added to Curl so that instead of it
> > trying to claim all the available bandwidth a switch limits it to X
> > KBytes/sec?
> >
> > As a Sysadmin I often have to download large files but I'd like to leave
> > some bandwidth for others on my Works 128K ISDN network.
> >
> > Would others find this feature useful?
>
> It is in the TODO file, and I would indeed like to see the feature added.
>
> It should probably be implmented entirely in client-side code (I mean
outside
> the library) and it could make the callback functions sleep a certain
period
> before returning back to the library.
>
> You up to writing a patch for this?

Sorry, I'm a RISC OS programmer but I don't use C/C++.

Just humble BBC BASIC V. :-)

-- 
Stuart Halliday
Webmaster of the Acorn Cybervillage
http://acorn.cybervillage.co.uk/
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-05-28