Thread Loop: perl.exe wird laufend neu gestartet (15 answers)
Opened by perlbeg at 2007-05-30 22:12

GwenDragon
 2007-05-31 21:27
#30415 #30415
User since
2005-01-17
14837 Artikel
Admin1
[Homepage]
user image
[quote=perlbeg,31.05.2007, 16:56]aber es dauert minutenlang, bis die Anweisung
    my $res = $agent->request($req);
durchgeführt ist.
Gibt es vielleicht einen Parameter, der die Response-Zeit bei Fehlern oder die Anzahl Lese-Versuche bei Fehlern festlegt?[/quote]
Hast du guter Mensch auch schon mal in die Perldoc zu LWP-Useragent geschaut? ;)
Da gibt es wunderbare Informationen.
Und selbst CPAN schweigt zu CPAN:LWP-Useragent niemals.
Oder ist dein Englisch nicht so gut?

Na, ich will mal nich' so eine böse Drachin sein:
Quote
$ua->timeout( $secs )

Get/set the timeout value in seconds. The default timeout() value is 180 seconds, i.e. 3 minutes.

The requests is aborted if no activity on the connection to the server is observed for timeout seconds. This means that the time it takes for the complete transaction and the request() method to actually return might be longer.
Perldoc zu LWP::Useragent

View full thread Loop: perl.exe wird laufend neu gestartet