From 89dec3af2475dea1a6532724132f06c43d6876bd Mon Sep 17 00:00:00 2001 From: marcelloc Date: Tue, 19 Jul 2011 13:53:27 -0700 Subject: missing s in connect_timeout default value, without 's' varnish does not start isset($sh[$x]) breaks sync --- config/varnish64/varnish.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/varnish64') diff --git a/config/varnish64/varnish.inc b/config/varnish64/varnish.inc index 1322cd9d..6c79d8cd 100644 --- a/config/varnish64/varnish.inc +++ b/config/varnish64/varnish.inc @@ -216,7 +216,7 @@ function get_backend_config_txt() { if($backend['port']) $connect_timeout = $backend['port'] . "s"; else - $connect_timeout = "80"; + $connect_timeout = "80s"; if($backend['first_byte_timeout']) $first_byte_timeout = $backend['first_byte_timeout'] . "s"; else @@ -433,7 +433,7 @@ function varnish_sync_on_changes() { $previous_ip = ""; $x=0; $sh = $config['installedpackages']['varnishsync']['config'][0]; - for($x=1; $x 1) $counter = $x; else -- cgit v1.2.3