Re: restrict download bandwidth
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 12 Sep 2008, Jan Buchholz wrote:
> does anybody know, i could restrict the download bandwidth with
> LWP::UserAgent.
Use a slowing proxy server? Download
http://perlmeister.com/snapshots/200105/scripts/slowie.pl
and start
$ slowie.pl
Server listening at port 8018
then configure LWP::UserAgent to use it
$ua->proxy(['http'], 'http://localhost:8018/');
Here's the article if you can read German:
http://www.linux-magazin.de/heft_abo/ausgaben/2001/05/urlaub_in_der_steinzeit
-- Mike
Mike Schilli
[email protected]