increased tries to read from socket from 4 to 20
authorGabriel Wicke <gwicke@users.mediawiki.org>
Wed, 4 Feb 2004 14:25:37 +0000 (14:25 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Wed, 4 Feb 2004 14:25:37 +0000 (14:25 +0000)
includes/GlobalFunctions.php

index dd40d17..c478895 100644 (file)
@@ -803,7 +803,7 @@ function wfPurgeSquidServers ($urlArr) {
                if($r != 0) {
                    $res = '';
                    $esc = 0;
-                   while (strlen($res) < 230 && $esc < 4  ) {
+                   while (strlen($res) < 100 && $esc < 20  ) {
                        $res .= @fread($sockets[$s],512);
                        $esc++;
                    }