Q: timeout in http/ftp functions

Klaus Major klaus at major-k.de
Thu Oct 23 06:02:18 EDT 2008


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
klaus at major-k.de
http://www.major-k.de





More information about the use-livecode mailing list