Kinkie wrote:
On Fri, Aug 14, 2009 at 4:07 PM, Henrik
Nordstrom<[email protected]> 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