Ok, this is weird or I obviously misunderstood the usage of LWP timeout...
I just tested it and I had set the timeout for 10mins and the request kept
running just fine all that time...
Though, if you do print $ua->timeout('600'), you get a value of 180 seconds,
which is hte predefined timeout value instead of 600 seconds.
I thought that this might help some of you out there trying to see what the
heck is going on with LWP timeout... If you have more comments please feel
free to send them to me.
Thanks!
-Lia-
-----Original Message-----
From: Schiza, Apostolia (ISS Atlanta)
Sent: Thursday, January 18, 2001 12:32 PM
To: perl-win32-web@listserv. ActiveState. com (E-mail)
Subject: timeout problem with LWP::UserAgent!!!
I saw this problem in the archives but no solution!
In my script I am trying to set the timeout value to 5 mins (300 secs)
by doing
$ua->timeout(300);
but this does not take any effect.
I tried printing the value that the above
statement returns I get 180 seconds instead of
300.
I have LWP version 5.48 (I re-installed activestate perl
few weeks ago)
can somebody help? Is this a bug? If it is
what other alternatives to I have? Maybe
use IO::Socket??
Thank you
-Lia-
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
RE: timeout problem with LWP::UserAgent!!!
Schiza, Apostolia (ISS Atlanta) Thu, 18 Jan 2001 09:54:40 -0800
- timeout problem with LWP::UserAgent!!! Schiza, Apostolia (ISS Atlanta)
- RE: timeout problem with LWP::UserAge... Schiza, Apostolia (ISS Atlanta)
- RE: timeout problem with LWP::Use... Keith Calvert Ivey
