Strange squid behaviour

From: Vladimir Sauta <[email protected]>
Date: Wed, 18 Aug 1999 17:11:10 +0300

I think it's a bug (Squid-2.2.4STABLE):

squid.conf contains

...
acl night time 0:00-7:59
acl downloads urlpath_regex -i ^ftp: \.gz$ \.tgz$ \.bz2$ \.zip$
delay_access 1 allow downloads !night
...

When users try access to http://a.b.c/d.gz squid reloads with
`xstrdup: tried to duplicate NULL pointer!'
My config above is not correct. I change it so:

...
acl night time 0:00-7:59
acl downloads urlpath_regex -i \.gz$ \.tgz$ \.bz2$ \.zip$
acl downloads_url url_regex -i ^ftp:
delay_access 1 allow downloads !night
delay_access 1 allow downloads_url !night
...

Squid does not reload now. But it's better if it does not
notice `^ftp:' in the first variant of config.

svv.
Received on Wed Aug 18 1999 - 08:03:03 MDT

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