Re: LWP - Catching connection timeout
- From: yitzle@xxxxxxxxxxxxxxxxxxxxx (Yitzle)
- Date: Tue, 25 Sep 2007 21:35:46 -0400
On 9/25/07, Tom Phoenix <tom@xxxxxxxxxxxxxx> wrote:
On 9/25/07, yitzle <yitzle@xxxxxxxxxxxxxxxxxxxxx> wrote:
When a connection timeout occurs, "the library disconnects and creates
an internal timeout response" [1]. This then exits my script.
Is there a way to change what occurs on timeout?
This sounds like an advanced LWP issue. Have you tried asking on the
LWP mailing list?
Cheers!
--Tom Phoenix
Stonehenge Perl Training
I was not aware there was a LWP mailing list ;)
libwww@xxxxxxxx via http://www.linpro.no/lwp/
I found a similar question posed on perlmonks, to which Randal
Schwartz suggests using POE (which I never heard of...) and Wonko
suggests using %SIG, alarm() and eval's - all of which I am unfamiliar
with, but none of which looks too complicated.
I suppose I should first try Wonko's suggestion before mailing LWP.
Thanks for your time!
.
- References:
- LWP - Catching connection timeout
- From: Yitzle
- Re: LWP - Catching connection timeout
- From: Tom Phoenix
- LWP - Catching connection timeout
- Prev by Date: Re: bootstrapping in Perl
- Next by Date: perl tk question
- Previous by thread: Re: LWP - Catching connection timeout
- Next by thread: perl tk question
- Index(es):
Relevant Pages
|
|