diff options
author | Martin Fuchs <mfuchs@pfsense.org> | 2008-08-13 13:50:08 +0000 |
---|---|---|
committer | Martin Fuchs <mfuchs@pfsense.org> | 2008-08-13 13:50:08 +0000 |
commit | 2f5ce6d5d846a9177eea01d98c89f60fd7dbb76a (patch) | |
tree | f2bc65fba218d0b86d0c614c290552b43571d7af /packages/squid | |
parent | 74b19e1762582d750491cf9a1eba5691bdfaf55c (diff) | |
download | pfsense-packages-2f5ce6d5d846a9177eea01d98c89f60fd7dbb76a.tar.gz pfsense-packages-2f5ce6d5d846a9177eea01d98c89f60fd7dbb76a.tar.bz2 pfsense-packages-2f5ce6d5d846a9177eea01d98c89f60fd7dbb76a.zip |
squid: correct allow to tune the finish / abort transfer when aborted by client - settings one more time ;-)
Diffstat (limited to 'packages/squid')
-rw-r--r-- | packages/squid/squid.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index a634caa8..d79bdb28 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -714,8 +714,8 @@ function squid_resync_traffic() { $settings = $config['installedpackages']['squidtraffic']['config'][0]; $conf = ''; - if (!empty($settings['quick_abort_min']) || ($settings['quick_abort_min'])== 0) $conf .= "quick_abort_min {$settings['quick_abort_min']} KB\n"; - if (!empty($settings['quick_abort_max']) || ($settings['quick_abort_max'])== 0) $conf .= "quick_abort_max {$settings['quick_abort_max']} KB\n"; + if (!empty($settings['quick_abort_min']) || ($settings['quick_abort_min']) == "0") $conf .= "quick_abort_min {$settings['quick_abort_min']} KB\n"; + if (!empty($settings['quick_abort_max']) || ($settings['quick_abort_max']) == "0") $conf .= "quick_abort_max {$settings['quick_abort_max']} KB\n"; if (!empty($settings['quick_abort_pct'])) $conf .= "quick_abort_pct {$settings['quick_abort_pct']}\n"; $up_limit = ($settings['max_upload_size'] ? $settings['max_upload_size'] : 0); |