Re: includes inside squid.conf

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 25 Mar 2002 23:57:19 +0100

Drop the inode checks simply limit the recursion depth and we might
consider the patch. Inode checks are evil from a portability aspect.

Robert: You were working on a new configuration parser in the
generic_modules branch. What is the status of this? IIRC you also
implemented includes..

Regards
Henrik

Andres Kroonmaa wrote:
>
> This has been covered before, but here's again.
>
> Sites maintaining multiple caches it often nice to have
> per-box squid.conf that specifies specific items, and
> then include some shared config files that can be
> synced between boxes.
>
> Its also good to have full acl definitions in separate
> files, although we can do that partly already.
>
> Would be nice to have in 2.6. I have one implementation
> for that, based on recursive configfile parser. recursion
> loops are detected by remembering inodes of seen configs.
> I don't consider recursion here as evil, besides it makes
> for pretty simple patch.
>
> What are your thoughts?
>
> ------------------------------------
> Andres Kroonmaa <andre@online.ee>
> CTO, Microlink Online
> Tel: 6501 731, Fax: 6501 725
> Pärnu mnt. 158, Tallinn,
> 11317 Estonia
Received on Mon Mar 25 2002 - 15:56:04 MST

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