in reply to Catching time-outs
There is also the timeout() method found in the LWP::UserAgent module.
The POD for the module states:
$ua->timeout( $secs )Get/set the timeout value in seconds. The default timeout() value is 180 seconds, i.e. 3 minutes.
The requests is aborted if no activity on the connection to the server is observed for timeout seconds. This means that the time it takes for the complete transaction and the request() method to actually return might be longer.
I hope this helps!
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Catching time-outs
by coldfingertips (Pilgrim) on Mar 29, 2004 at 17:01 UTC | |
by davido (Cardinal) on Mar 29, 2004 at 17:18 UTC | |
by coldfingertips (Pilgrim) on Mar 29, 2004 at 17:41 UTC | |
by Steve_p (Priest) on Mar 29, 2004 at 19:37 UTC | |
by coldfingertips (Pilgrim) on Mar 29, 2004 at 17:25 UTC | |
by Vautrin (Hermit) on Mar 29, 2004 at 17:31 UTC |