Re: (Fwd) Re: includes inside squid.conf

From: Henrik Nordstrom <>
Date: Wed, 3 Apr 2002 00:23:13 +0200

On Tuesday 02 April 2002 23:50, Andres Kroonmaa wrote:

> What about preprocessor directive clashes with squid tags?

Not a big deal in most suitable pre-processors as they tend to have
methods for emitting such output if a conflict should arise..

> future?

as above..

> Implementing this is way more complex than simple includes.


> Is this standard enough to implement?


> Is it doable on Windows?

Yes. Even DOS for that matter..

> How to handle pre-processor errors?

Provided the pre-processor indicates error this is not a problem..

Forgot about this in the initial implementation.. 2 lines added to
deal with this, and additional 2 lines to correct a related bug..
thanks for the reminder.

> Upon reconfigure, fork external preprocessor again?


> configd?

Only if your preprocessor uses one..

> Integrate m4 into squid?

Not worth the effort.

The gains would be

  * No need for an external preprocessor to be available
  * Can more intelligently report parse errors, indicating which
actual file and line the error was detected in.
  * No need to execute an external program

The downsides is

  * the preprocessor cannot be exchanged
  * bloats Squid considerably, both in source and binary.

Received on Tue Apr 02 2002 - 15:23:45 MST

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