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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to