From 2be27745c65829aa72e44e288ef7fcba6e544282 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 15 Feb 2011 11:31:27 -0500 Subject: Fix squid download limit. Reported here: http://forum.pfsense.org/index.php/topic,31880.0.html --- config/squid/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/squid') 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? -- cgit v1.2.3