From a3e58ae5c88024b0d379ed8019047121da53a508 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Wed, 4 Feb 2004 14:25:37 +0000 Subject: [PATCH] increased tries to read from socket from 4 to 20 --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index dd40d17061..c4788955a6 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -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++; } -- 2.20.1