Re: [squid-users] Squid 2. Squid 2.6.STABLE16 delay (pools) problem

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sun, 18 Nov 2007 22:52:36 +0100

On sön, 2007-11-18 at 11:29 +0530, Santosh Rani wrote:

> delay_access 1 allow THIS_SIDE
> delay_access 4 allow OTHER_SIDE
> delay_access 2 allow LOCALUSERS
> delay_access 3 allow STRINGS_SLOW

When Squid is trying to determine which delaypool to use it starts with
the first one in numeric order, and stops with the first one where the
request is allowed. So the above is best read as

delay_access 1 allow THIS_SIDE
delay_access 2 allow LOCALUSERS
delay_access 3 allow STRINGS_SLOW
delay_access 4 allow OTHER_SIDE

which means
THIS_SIDE gets pool 1
LOCALUSERS gets pool 2
if not in the above and matching STRINGS_SLOW then pool 3
if not in the above and matching OTHER_SIDE then pool 4
else no delay pool at all

Another note, you may want to make that regex case-insensitive (-i
option)

Regards
Henrik

Received on Sun Nov 18 2007 - 14:52:40 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST