RE: includes inside squid.conf

From: Robert Collins <robert.collins@dont-contact.us>
Date: Tue, 26 Mar 2002 09:59:57 +1100

> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@marasystems.com]
> Sent: Tuesday, March 26, 2002 9:57 AM
> To: Andres Kroonmaa
> Cc: squid-dev@squid-cache.org
> Subject: Re: includes inside squid.conf
>
>
> 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..

The new parser, which essentially builds an abstract syntax tree with
loadable types, would be much better done in C++. The parser works, but
it depends on the generic modules code, so it's not a candidate short
term anyway. Includes were a simple recursion, with no depth limit. (If
you include an already included file, squid's declaritive syntax will
guarantee confusion anyway).

Rob
Received on Mon Mar 25 2002 - 16:00:00 MST

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