Re: Adding a configuration option.

From: Robert Collins <robert.collins@dont-contact.us>
Date: Thu, 7 Dec 2000 19:39:45 +1100

cf.data.pre is the source file. It is parsed to create squid.conf.default and cf_parser during compilation.

Rob
----- Original Message -----
From: "Andres Kroonmaa" <andre@online.ee>
To: <squid-dev@squid-cache.org>
Sent: Thursday, December 07, 2000 6:53 PM
Subject: Re: Adding a configuration option.

On 6 Dec 2000, at 17:54, Duane Wessels <wessels@squid-cache.org> wrote:

> On Wed, 6 Dec 2000, Joe Cooper wrote:
>
> > Hey folks,
> >
> > I've been trying to turn a patch to 'fix' the IE refresh issue into a
> > runtime option, but I'm having a bit of difficulty convincing Squid to
> > parse the new option.
> >
> > I've added the ie_refresh option the cf.data.pre, and I've added the
> > option to the onoff struct in structs.h, and I've added an
> > if(Config.onoff.ie_refresh) check before the relevant code. A recompile
> > later, and restarting Squid with the new option enabled in squid.conf
> > leads to a "2000/12/06 15:59:47| parseConfigFile: line 2006
> > unrecognized: 'ie_refresh on'" error.
>
> maybe you forgot 'make install' or you're running an old executable?
>
> try: strings squid | grep ie_refresh

 isn't cf.data generated during configure?

------------------------------------
 Andres Kroonmaa <andre@online.ee>
 Delfi Online
 Tel: 6501 731, Fax: 6501 708
 Pärnu mnt. 158, Tallinn,
 11317 Estonia
Received on Thu Dec 07 2000 - 01:31:30 MST

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