Re: [squid-users] reply_body_max_size in version 2.5

From: Robert Collins <[email protected]>
Date: 31 Jul 2001 12:08:36 +1000

On 30 Jul 2001 14:56:18 -0300, Mads Rasmussen wrote:
>
> I tried downloading the daily head of 2.5 to test the patch Robert Collins
> did.
>
> First I tried migrating my squid.conf to the new 2.5 version before applying
> the patch and something isn't what it seems.
>
> I am having trouble understanding the reply_body_max_size in the 2.5 version.
>
> In 2.4st1 it was:
>
> reply_body_max_size 8 MB
>
> This have been changed to
>
> TAG: reply_body_max_size bytes allow|deny acl acl...
>
> I tried doing a
>
> reply_body_max_size 8192 allow cit
>
> and a
>
> reply_body_max_size 8192 deny cit
>
> Each with no effect, in both cases I can download whatever size I want.
>
> What am I doing wrong? I did a default test install (./configure, make, make
> install)

What is "cit" ?
also, 8192, is 8kb, not 8Mb.

I tested with this:

acl html rep_mime_type text/html
reply_body_max_size 0 allow html
reply_body_max_size 4096 allow all

Which allowed any size html file, and a maximum size of 4Kb for all
other files.

Rob

> Regards,
>
> Mads
Received on Mon Jul 30 2001 - 20:20:19 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:20 MST