Re: /bzr/squid3/trunk/ r9887: Docs: dstdomain is a 'FAST' group ACL.

From: Kinkie <gkinkie_at_gmail.com>
Date: Sun, 9 Aug 2009 01:07:22 +0200

On Sun, Aug 9, 2009 at 12:45 AM, Henrik
Nordstrom<henrik_at_henriknordstrom.net> wrote:
> lör 2009-08-08 klockan 00:44 +1200 skrev Amos Jeffries:
>
>>   Docs: dstdomain is a 'FAST' group ACL.
>
> Actually it's both.. for domain based requests it's fast.
>
> but for IP based requests it's a slow ACL trying to reverse-lookup the
> hostname of the requested ip,

Hm.. gah!
For documentation purposes it's probably safer to either document this
split personality disorder, or to just consider it fast.
I checked the code, and it seems "slow" at first glance.

For 3.3+ what would you guys think about splitting dstdomain up into
two, to make the behaviour clearer? Something like dstname (always
fast) and dstdomain (always slow)?

-- 
    /kinkie
Received on Sat Aug 08 2009 - 23:07:30 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 09 2009 - 12:00:04 MDT