Re: Timeout Handling (Re: WWW::HTTP )
Martijn Koster (m.koster@nexor.co.uk)
Thu, 18 May 1995 08:24:50 +0100
In message <9505172247.AA04374@franz.ww.TU-Berlin.DE>, Andreas Koenig writes:
>
> Citing Martijn...
> and Andreas suggested allowing the user to override
> error handling, using MI.
>
> Well, my suggestion came 2 hours before Larry revealed his
> $SIG{__WARN__} and $SIG{__DIE__} pseudo signal handler. Don't they
Yeah, I can't get used to writing in such a dynamic language either :-)
> solve the problem for us both? Now I can catch your die()s without
> eval and I'm happy. And I hope you're doing a nice recovering, so that
> I can bring my scripts to a graceful end :)
That depends. I'd like to return a 408 when a local timeout occurs,
which means I'd need to trap it in the library. Are you saying you're
not fussed and would be happy with a die?
I guess I could make it configurable...
-- Martijn
__________
Internet: m.koster@nexor.co.uk
X-400: C=GB; A= ; P=Nexor; O=Nexor; S=koster; I=M
WWW: http://web.nexor.co.uk/mak/mak.html