Q: timeout in http/ftp functions

2008-10-23 Thread [EMAIL PROTECTED]
Hello,
in using put into URL or post xyz to URL zyx runrev works for a while if 
the URL does not exist or any problem occurs with the connection. Can I set a 
timeout like in Perl?
## use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua = 
LWP::UserAgent-new; $ua-timeout(30); ...

Regards, Franz Böhmisch
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Q: timeout in http/ftp functions

2008-10-23 Thread Klaus Major

Hi Franz,


Hello,
in using put into URL or post xyz to URL zyx runrev works for a  
while if the URL does not exist or any problem occurs with the  
connection. Can I set a timeout like in Perl?
## use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua  
= LWP::UserAgent-new; $ua-timeout(30); ...


Maybe the SocketTimeoutInterval is what you are looking for?


Regards, Franz Böhmisch


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re-2: Q: timeout in http/ftp functions

2008-10-23 Thread [EMAIL PROTECTED]
Hello Klaus,

thank you. I will test this global variable - perhaps it is used in the put and 
post functions within runrev also. 

Regards, Franz


Original Messageprocessed by David InfoCenter 
Subject: Re: Q: timeout in http/ftp functions (23-Okt-2008 12:02)
From:Klaus Major [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]


Hi Franz,

 Hello,
 in using put into URL or post xyz to URL zyx runrev works for a  while 
 if the URL does not exist or any problem occurs with the 
 connection. Can I set a timeout like in Perl?
 ## use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua  = 
 LWP::UserAgent-new; $ua-timeout(30); ...

Maybe the SocketTimeoutInterval is what you are looking for?

 Regards, Franz Böhmisch

Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

To: use-revolution@lists.runrev.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution