diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-07-19 13:54:04 -0700 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-07-19 13:54:04 -0700 |
commit | 61b9b06fe824258f4ebf629056f5d553e96b9c4d (patch) | |
tree | 7d230105d2c2d657d2d89e9c766a372b49e5f564 /config/varnish64/varnish.inc | |
parent | a6b7141283093eca4000a35ab6f673b61c5b143a (diff) | |
parent | 89dec3af2475dea1a6532724132f06c43d6876bd (diff) | |
download | pfsense-packages-61b9b06fe824258f4ebf629056f5d553e96b9c4d.tar.gz pfsense-packages-61b9b06fe824258f4ebf629056f5d553e96b9c4d.tar.bz2 pfsense-packages-61b9b06fe824258f4ebf629056f5d553e96b9c4d.zip |
Merge pull request #3 from marcelloc/patch-2
missing s in connect_timeout default value, without 's' varnish does not
Diffstat (limited to 'config/varnish64/varnish.inc')
-rw-r--r-- | config/varnish64/varnish.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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<isset($sh[$x]); $x++) { + for($x=1; $x<7); $x++) { if($x > 1) $counter = $x; else |