Hello

  The UserAgent has "timeout" attribute:

ua->timeout(new_valor);

  Hope this helps.

Andres.





From: Giuseppe Torelli <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>libwww
Subject: LWP timeout
Date: Tue, 5 Nov 2002 08:31:31 +0000


Hi,

I have a code like this:

$ua = LWP::UserAgent->new;
$ua->agent("Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.0.0)
Gecko/20020529");
$req = $ua->request(POST
"http://npsa-pbil.ibcp.fr/cgi-bin/secpred_consensus.pl",content_type=>"multipart/form-data",content=>\@Consensus);
$content = $req->as_string;

but after a while I got a read timeout. Instead if I fill the form
on the web site no error occur. Is there a way to increase the timeout ?

Thanks,
--
Giuseppe Torelli

_________________________________________________________________
Charla con tus amigos en l�nea mediante MSN Messenger: http://messenger.microsoft.com/es

Reply via email to