Beau Landeaux has asked for the wisdom of the Perl Monks concerning the following question:
Thanks in advance, Beaumy $ua; my $url; my $request; my $response; my $timeout = 60; $ua = LWP::UserAgent->new(); $ua->agent("DMC-Monitor/1.0"); $request = new HTTP::Request("GET", "$url"); print "\$request=|$request|\n"; $response = $ua->timeout($timeout); print "\$response=|$response|\n"; $response = $ua->request($request); # <== Hangs here print "\$response=|$response|\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTTP Request Hangs
by pg (Canon) on Mar 03, 2003 at 18:53 UTC | |
|
Re: HTTP Request Hangs
by IlyaM (Parson) on Mar 03, 2003 at 18:39 UTC | |
by Beau Landeaux (Novice) on Mar 04, 2003 at 14:27 UTC |