Can we warn/error on '=' in some paramaters?

From: Andrew Bartlett <abartlet@dont-contact.us>
Date: Sat, 06 Jul 2002 15:07:25 +1000

I was wondering why my cache simply wasn't caching anything. Everything
was a miss, even somthing I just got.

Eventually I traked it down, I had:

cache_mem = 64 MB

maximum_object_size = 64 MB

In my squid.conf. Bad move - this seems to evaluate to 0. Would it be
possible to either make squid warn on silly values, or (better) make it
fail for things like an '=' in the feild?

(Being a Samba developer I am used to the 'param=value' style, so it
looked fine...).

Once I removed the '=' things started actually functioning.

Is this relitivly easy to do in your config parser? If so, I think it
might help keep some users out of trouble...

Andrew Bartlett,

-- 
Andrew Bartlett                                 abartlet@pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet@samba.org
Student Network Administrator, Hawker College   abartlet@hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
Received on Sat Jul 06 2002 - 00:50:29 MDT

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