Re: How do you get libwww-perl.5.48 to timeout?

Kurt D. Starsinic (kstar@cpan.org)
Tue, 23 Jan 2001 14:55:24 -0500


On Tue, Jan 23, 2001 at 11:54:54AM +0000, Justin Mason wrote:
> "Kurt D. Starsinic" said:
> 
> >     I've seen this.  I think that it's occurring during the gethostbyname()
> > or connect() calls.  It is a pain in the neck, and if you find a solution,
> > I'll be grateful.
> 
> Just speculating -- but should alarm() be able to interrupt these?

    It should be, but it can't.  I believe that the code in question
is wrapped in an eval { }.

    - Kurt