W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2010

link-checker commit: Lower default timeout to 30 seconds (#4985).

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:47:20 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1j6-0006Eh-Sy@blinky.w3.org>
changeset:   300:8d2ca007b3c4
user:        ville
date:        Wed Mar 04 17:23:58 2009 +0000
files:       bin/checklink bin/checklink.pod
description:
Lower default timeout to 30 seconds (#4985).


diff -r 19cecf821d2a -r 8d2ca007b3c4 bin/checklink
--- a/bin/checklink	Thu Feb 26 19:16:04 2009 +0000
+++ b/bin/checklink	Wed Mar 04 17:23:58 2009 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2009 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.151 2009-02-26 19:16:04 ville Exp $
+# $Id: checklink,v 4.152 2009-03-04 17:23:58 ville Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -277,7 +277,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.4';
   $REVISION    = sprintf('version %s (c) 1999-2009 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.151 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.152 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver,
                          (W3C::UserAgent::USE_ROBOT_UA
@@ -381,7 +381,7 @@
     Verbose           => 0,
     Progress          => 0,
     HTML              => 0,
-    Timeout           => 60,
+    Timeout           => 30,
     Redirects         => 1,
     Dir_Redirects     => 1,
     Accept_Language   => $cmdline ? undef : $ENV{HTTP_ACCEPT_LANGUAGE},
@@ -740,7 +740,7 @@
                             document checked.
  -S, --sleep SECS           Sleep SECS seconds between requests to each server
                             (default and minimum: 1 second).
- -t, --timeout SECS         Timeout for requests (in seconds).
+ -t, --timeout SECS         Timeout for requests in seconds (default: 30).
  -d, --domain DOMAIN        Regular expression describing the domain to which
                             authentication information will be sent
                             (default: $trust).
diff -r 19cecf821d2a -r 8d2ca007b3c4 bin/checklink.pod
--- a/bin/checklink.pod	Thu Feb 26 19:16:04 2009 +0000
+++ b/bin/checklink.pod	Wed Mar 04 17:23:58 2009 +0000
@@ -1,4 +1,4 @@
-$Id: checklink.pod,v 1.21 2008-10-25 19:58:18 mernst Exp $
+$Id: checklink.pod,v 1.22 2009-03-04 17:23:58 ville Exp $
 
 =head1 NAME
 
@@ -123,7 +123,7 @@
 
 =item B<-t, --timeout> I<secs>
 
-Timeout for requests, in seconds.
+Timeout for requests, in seconds.  The default is 30.
 
 =item B<-d, --domain> I<domain>
 
Received on Thursday, 5 August 2010 14:47:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC