View Single Post
  #2 (permalink)  
Old June 9th 09, 11:03 AM posted to microsoft.public.windows.vista.networking_sharing
Mikko[_2_]
external usenet poster
 
Posts: 1
Default BUG: Vista network connectivity lost after opening manyconnections with Perl.exe

To reproduce the problem, you can run the Perl script attached at the
end of this post [...]


Sorry, forgot to attach the script. Here goes:

use strict;
use LWP::UserAgent;

my $ua = LWP::UserAgent-new();

my $n=1;
while (1) {
print "Fetching page $n...";

my $req = HTTP::Request-new(GET = "http://127.0.0.1/test.htm");
$req-header('Accept' = 'text/html');

# Send request.
my $res = $ua-request($req);

# Check the outcome.
if ($res-is_success) {
print " OK!\n";
$n++;
}
else {
print " ERROR: " . $res-status_line . ".\n";
sleep 1; # Don't flood the console.
}

$req=undef;
}