Re: [squid-users] Squid allow only 2 max connections per IP

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 14 Aug 2007 18:24:42 +0200

On ons, 2007-08-15 at 01:08 +1200, Amos Jeffries wrote:
> Chris Robertson wrote:

> > The "all" here should be the first acl referenced on the line or it will
> > prevent your deny_info message from being shown.
> >
> > e.g. "http_access deny all maxcon"
> >
> >> deny_info ERR_MAXCON maxcon
> >>
>
> That sounds a lot like a bug.

Does it? Squid reads http_access lines left to right..

But yes, it can be documented better. The notes in deny_info isn't
exactl helpful on this subject..

deny_info matches the last acl on the http_access deny line which denied
access, or if authentication is required to process the request the
first authentication related acl encountered while processing the
http_access rules.

Regards
Henrik

Received on Tue Aug 14 2007 - 10:24:55 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT