Re: [squid-users] flat file parsing vs db filter rules parsing

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 28 Oct 2004 11:25:46 +0200 (CEST)

On Thu, 28 Oct 2004, Muthukumar wrote:

> How the flat file "FLAT FILE" filter rules are parsed and stored in linked list structure?

It is not. It is parsed and stored into a splay tree for efficient
lookups, taking benefit of the well defined structure of Internet domain
names.

It is only the acl file on disk which is "flat".

> Which file parses FLATFILE details and storing into system memory on squid?

The dstdomain parsing is in aclParseDomainList, it does little more than
reading one token at a time from the acl definition and giving it to the
splaytree for indexing.

Regards
Henrik
Received on Thu Oct 28 2004 - 03:25:50 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST