Re: Re[4]: [squid-users] Overriding reply_body_max_size

From: Billy Macdonald <whmac33@dont-contact.us>
Date: Thu, 5 Sep 2002 22:31:25 -0700 (PDT)

--- Hermes <hermes@rds-clan.be> wrote:
> Ok, I must be doing sth wrong here :
> I compiled, and configed squid 2.5PRE12
>
> # 2.5 PRE 12 with
> acl nolimitsurf src 10.0.0.2
> reply_body_max_size 1000000 allow all
> #in bytes
> reply_body_max_size 1000000000000 allow nolimitsurf
>
>
> but, ths doesn't allow 10.0.0.2 to surf without limitations, instead
> it still has the 1 meg limitation.
>
> what am I doing wrong here ?
>
Squid tries things in order from top to bottom. Everyone matches the first
reply_body_max_size line before the second one is ever processed.

Switch the order and it should work. Also if you specify 0 as the size it is
truely unlimited I'm fairly certain.

Billy

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Received on Thu Sep 05 2002 - 23:31:28 MDT

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