Re: plugin parsing code and acl lists

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sun, 1 Apr 2001 15:17:15 +1000

----- Original Message -----
From: "Henrik Nordstrom" <hno@hem.passagen.se>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <squid-dev@squid-cache.org>
Sent: Sunday, April 01, 2001 10:42 AM
Subject: Re: plugin parsing code and acl lists

> Robert Collins wrote:
>
> > I have a choice to make: I can change
> > acl foo type data
> > acl foo type data
> > ...
> > to
> > acl foo type
> > acl foo data
> ...
> > Are there any preferences ?
>
> My preference is to have the type always listed, and barf loudly if
the
> user is stupid and does not know what he/she is doing. I think it is
> less error prone that way, and surely less confusing when seeing
config
> fragments..

Ok. Any other input?

>
> Also it allows for things like this without worry:
>
> #acl foo type data
> acl foo type moredata
> acl foo type ...
> #acl foo type otherdata
> acl foo type evenmoredata

Which would be
acl foo type
acl foo data
acl foo evenmoredata
ac foo evenmoremoredata

Rob

>
> /Henrik
>
>
Received on Sat Mar 31 2001 - 22:18:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:42 MST