I make HTTP requests using LWP::UserAgent and HTTP::Request. I set the timeout to 20 with $ua->timeout(20). If I do a print $ua->timeout(), it shows, that it has been set to 20 sec. The strange thing is that it is not working. I make a HTTP request to a server, but the request does not time out after 20 sec, instead it waits for more than ten minutes. Could anybody please help me with this? I would really apreciate a fast reply...
Regards,
PeterIn reply to LWP::UserAgent-timeout() - is it working? by szekszardi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |