]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Fixed reply_body_max_size for new squid version.
authorChristian Schmidt <maniacikarus@ipfire.org>
Fri, 3 Dec 2010 08:49:43 +0000 (09:49 +0100)
committerChristian Schmidt <maniacikarus@ipfire.org>
Fri, 3 Dec 2010 08:49:43 +0000 (09:49 +0100)
html/cgi-bin/proxy.cgi

index 55d7ec9e82aead0b8bd2ac3ac0242385fb2eb3f4..a387d3e75f8b7042dc4c6bd195608995b7802557 100644 (file)
@@ -3888,7 +3888,11 @@ END
                        if (!-z $extgrp) { print FILE "reply_body_max_size 0 deny for_extended_users\n"; }
                }
        }
-#FIX ME        print FILE "reply_body_max_size $replybodymaxsize deny all\n\n";
+       
+       if ( $replybodymaxsize != '0' )
+       {
+               print FILE "reply_body_max_size $replybodymaxsize deny all\n\n";
+       }
 
        print FILE "visible_hostname";
        if ($proxysettings{'VISIBLE_HOSTNAME'} eq '')