Adding a configuration option.

From: Joe Cooper <joe@dont-contact.us>
Date: Wed, 06 Dec 2000 16:22:52 -0600

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 - 15:15:40 MST

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