W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2009

validator/httpd/cgi-bin check,1.745,1.746

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 10 Dec 2009 19:28:15 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NIogR-0000Oj-VI@lionel-hutz.w3.org>
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv1471/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Lower user agent inactivity timeout to 45 seconds (#6950).

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.745
retrieving revision 1.746
diff -u -d -r1.745 -r1.746
--- check	5 Dec 2009 10:22:04 -0000	1.745
+++ check	10 Dec 2009 19:28:13 -0000	1.746
@@ -3560,6 +3560,13 @@
         'Accept-Encoding' => scalar HTTP::Message::decodable())
         if (!$File->{Opt}->{Debug} && HTTP::Message->can('decodable'));
 
+    # Our timeout should be set to something lower than the web server's,
+    # remembering to give some head room for the actual validation to take
+    # place after the document has been fetched (something like 15 seconds
+    # should be plenty).  validator.w3.org instances have their timeout set
+    # to 60 seconds as of writing this (#4985, #6950).
+    $self->timeout(45);
+
     return $self;
 }
 
Received on Thursday, 10 December 2009 19:28:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:16 GMT