From 8871b96ab1b998a5b83aad31546dc03bfe92bfef Mon Sep 17 00:00:00 2001 From: root Date: Sun, 7 Sep 2008 02:47:20 +0000 Subject: [PATCH] Improved timeout handling --- cacertupload.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/cacertupload.pl b/cacertupload.pl index 0ee299b..4c883c8 100644 --- a/cacertupload.pl +++ b/cacertupload.pl @@ -21,6 +21,7 @@ $ua = LWP::UserAgent->new(agent => 'Translingo Client 1.0'); use HTTP::Request::Common qw(POST); $ua->cookie_jar({}); +$ua->timeout(10000); my $req = POST 'http://translingo.cacert.org/login.php', [