Re: Adding a configuration option.

From: Robert Collins <robert.collins@dont-contact.us>
Date: Thu, 7 Dec 2000 11:16:29 +1100

That sounds like you've done the 'right stuff'. Could you drop me a diff?

Rob
----- Original Message -----
From: "Joe Cooper" <joe@swelltech.com>
To: <squid-dev@squid-cache.org>
Sent: Thursday, December 07, 2000 9:22 AM
Subject: Adding a configuration option.

> 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.
>
> Reading up on cf_gen seems to indicate that this step is done at compile
> time, which would include the new option added to cf.data.pre...So what
> step am I missing here?
>
> Thanks for any help anyone can provide!
> --
> Joe Cooper <joe@swelltech.com>
> Affordable Web Caching Proxy Appliances
> http://www.swelltech.com
>
>
Received on Wed Dec 06 2000 - 17:08:38 MST

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