cvs: php-master-web /scripts mirror-test

[email protected] ("Hannes Magnusson")
Newsgroups php.webmaster
Message-ID <cvsbjori1202651509@cvsserver>
bjori		Sun Feb 10 13:51:49 2008 UTC

  Modified files:              
    /php-master-web/scripts	mirror-test 
  Log:
  Bump timeout to 15seconds
  
  
http://cvs.php.net/viewvc.cgi/php-master-web/scripts/mirror-test?r1=1.100&r2=1.101&diff_format=u
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.100 php-master-web/scripts/mirror-test:1.101
--- php-master-web/scripts/mirror-test:1.100	Sun Sep  9 21:37:35 2007
+++ php-master-web/scripts/mirror-test	Sun Feb 10 13:51:48 2008
@@ -61,8 +61,8 @@
         return TRUE;
     }
     
-    // Set timeout to 5 seconds
-    socket_set_timeout($fp, 5, 0);
+    // Set timeout to 15 seconds
+    socket_set_timeout($fp, 15, 0);
 
     // Get lines from the socket, until we get past the HTTP headers
     // (HTTP headers and data have one empty line between them)
@@ -95,7 +95,7 @@
 $opts = array(
     "user_agent"    => "PHP.net Mirror Site check",
     "max_redirects" => 0,
-    "timeout"       => 5,
+    "timeout"       => 15,
 );
 $context  = stream_context_get_default(array("http" => $opts));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.