From d2d68063934e1474571e4ef3e0dfb713835b9b22 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 29 Mar 2017 22:38:30 +0200 Subject: [PATCH] Enable digests for any remote cache --- www/pfSense-pkg-squid/files/usr/local/pkg/squid.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pfSense-pkg-squid/files/usr/local/pkg/squid.inc b/www/pfSense-pkg-squid/files/usr/local/pkg/squid.inc index 2e8246e3afe4..89f22d55c9d5 100644 --- a/www/pfSense-pkg-squid/files/usr/local/pkg/squid.inc +++ b/www/pfSense-pkg-squid/files/usr/local/pkg/squid.inc @@ -1276,7 +1276,7 @@ function squid_resync_general() { $squid_gid = SQUID_GID; /* - * Disable cache digest generation unless we are a sibbling to another proxy. + * Disable cache digest generation unless using remote cache. * This avoids periods when Squid is unresponsive due to digest generation. */ $digest_generation = "off"; @@ -1284,7 +1284,7 @@ function squid_resync_general() { $config['installedpackages']['squidremote']['config'] = array(); } foreach ($config['installedpackages']['squidremote']['config'] as $settings) { - if ($settings['enable'] == 'on' && $settings['hierarchy'] == 'sibling') { + if ($settings['enable'] == 'on') { $digest_generation = "on"; break; }