Dear Monks,
I'm using ActivePerl on WinXP SP2 platform. The following simple code:
$req = HTTP::Request->new(GET,$url);
$res = $ua->request($req);
used to download a file from the remote web server. The file is really text, but the server transmits it as application/zip (so browser users can download it instead of opening in their browsers).
Everything goes OK except one thing : the download is very slow, about 1..2Kbits/second. Download of the same file from the same server via IE, Opera, or download manager runs much (~20..100 times) faster.
CPU usage is less then 1 per cent.
This doesn't depend upon the file's size.
Thanks in advance for any suggestions.