Re: [PATCH] hier_code ACL (port from 2.7)

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 15 Aug 2009 14:18:31 +1200

Kinkie wrote:
> On Fri, Aug 14, 2009 at 4:07 PM, Henrik
> Nordstrom<henrik_at_henriknordstrom.net> wrote:
>> lör 2009-08-15 klockan 01:28 +1200 skrev Amos Jeffries:
>>> Amos Jeffries wrote:
>>>> Port of the hier_code ACL from 2.7.
>>>>
>>>> This goes a little further than a straight port by adding Henriks
>>>> suggestion of a numeric-based array of codes.
>>>> Instead of a string-wise search on every use it's a speedy boolean array
>>>> seek on use and a slow array seek+match on configure.
>>>>
>>>> If there are no objections I'd like to merge it in a few days.
>>>>
>> +1
>
> looks good. It only lacks a documentation reference to the fact that
> it's a fast acl type.
>

?? its there:
"
   acl aclname hier_code codename ...
           # string match against squid hierarchy code(s); [fast]
           # e.g., DIRECT, PARENT_HIT, NONE, etc.
"

You mean the wiki?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
   Current Beta Squid 3.1.0.13
Received on Sat Aug 15 2009 - 02:18:38 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 15 2009 - 12:00:04 MDT