Timeouts
Artur Kedzierski (artur@cs.ucr.edu)
Sat, 24 Apr 1999 12:38:47 -0700 (PDT)
I cannot get the connection to timeout.
I've tried using the $ua->timeout() but that doesn't work. Then,
I've tried using my own alarm routine:
$SIG{ALRM} = sub {die "Connection: timeout"};
alarm(5);
$response = $ua->simple_request($req);
This wouldn't work either because the die signal would be trapped
at the lower IO routines. Any ideas how to get the timeout to work?
I'm using the latest Perl and libwww. Thanks in advance.
--
=================================================================
Artur Kedzierski, Artur@cs.ucr.edu
Computer Science Graduate Division
University of California, Riverside