>  According to both my browser, and a ping from our server, 
> this domain just doesn't exist. My first thought was to use 

Interesting.

> One possible solution that might work for you, but it hasn't for
> me  (my modules might be out of date, so I need to consult with > our  
admin) is to add this line before your ua->request;
> 
> $timeout=$ua->timeout(30);


I tried all sorts of timeouts and that never helped at all. I even threw in a 
ALARM which didn't have any affect unless I used a well known URL. I have 
seen LWP waiting for over a hour on the URL. Around lunch time it did respond 
back after 5 mins with a error that it could not connect with a 
$ua->timeout(10). A later attempt it just hanged for over 30 mins till I 
killed it.  Seems to me a lot of the timeout problems could perhaps be solved 
if one could understand what is happening with these various URLS and their 
server responses to make socket/select more responsive for a wider variety of 
URL's encountered since this is what LWP relies on for the connection. 

As it is now, I have to use MSINET.OCX to fetch these pages since it is good 
at timing out with these unresponive URL's and can actually get some work 
done with it.

I use CPAN to keep everything up todate so I have latest socket , INET, etc., 
so it wouldn't be because I do not have the latest versions of any of the 
dependencies. I am testing under FreeBSD, RH and NT. 

Reply via email to