diff options
author | jim-p <jimp@pfsense.org> | 2011-02-15 11:31:27 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-02-15 11:31:27 -0500 |
commit | 2be27745c65829aa72e44e288ef7fcba6e544282 (patch) | |
tree | b74c35eb5ac326c09a47ea521d89cddb279b9f3f /config/squid | |
parent | 78c8abff6eecea4c89c1579288057ebbdf137066 (diff) | |
download | pfsense-packages-2be27745c65829aa72e44e288ef7fcba6e544282.tar.gz pfsense-packages-2be27745c65829aa72e44e288ef7fcba6e544282.tar.bz2 pfsense-packages-2be27745c65829aa72e44e288ef7fcba6e544282.zip |
Fix squid download limit. Reported here: http://forum.pfsense.org/index.php/topic,31880.0.html
Diffstat (limited to 'config/squid')
-rw-r--r-- | config/squid/squid.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index f3936567..792a121f 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -893,7 +893,7 @@ function squid_resync_traffic() { $up_limit = ($settings['max_upload_size'] ? $settings['max_upload_size'] : 0); $down_limit = ($settings['max_download_size'] ? $settings['max_download_size'] : 0); $conf .= "request_body_max_size $up_limit KB\n"; - $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " allow all\n"; + $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " deny all\n"; // Only apply throttling past 10MB // XXX: Should this really be hardcoded? |