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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 6 Jul 2002 14:37:01 +0200

Now fixed in HEAD for most configuration directives.

Regards
Henrik

On Saturday 06 July 2002 07.07, Andrew Bartlett wrote:
> 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,
Received on Sat Jul 06 2002 - 06:38:14 MDT

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