How do you get libwww-perl.5.48 to timeout?
C K (sleepinginseattle@hotmail.com)
Mon, 22 Jan 2001 14:27:30 -0800
I'm setting my user agent, for libwww-perl-5.48, to time out in 15
secs. But, occassionally some sites are just causing my script to
hang for like 12-20 minutes waiting for a response, example:
http://storebuilder.infospace.com/infospacecom/shop/default.asp
I'm trying to find out why.
So, I tried using alarm() and $SIG{ALRM}. This helped a little by
timing out according to what I first set alarm(10) to. But, it's
still hangin on the link shown above.
Has anybody encountered the timeout function for a user agent, not
stopping after a certain period waiting for a response?
Thanks in advance for your advice!
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com