[squid-users] Confusing external acl, reply_body_max_size and EXT_LOG combo issue

From: Cameron Charles <cameron_at_getbusi.com>
Date: Tue, 15 Jul 2014 17:04:51 +1000

Hi,

Im having some confusing trouble with an external acl based
reply_body_max_size setup, but only when the ext_log is brought into
things.

I have an external acl setup as such:

> external_acl_type response_size_type ttl=300 children-startup=2 children-idle=1 children-max=10 %URI %EXT_LOG %TAG python max_file_size_ext_acl.py

which is used to check against some external data to cache the
response for the reply_body_max_size directive to use, an example of
which is this:

> acl response_size_31 external response_size_type 31 10.0.1.26
> http_access allow response_size_31
> reply_body_max_size 31 MB response_size_31

now this works perfectly fine, no issues what so ever, until the
external acl alters the EXT_LOG (and passes it back), pretty much any
alteration to the ext_log data causes squid to basically ignore the
answer it gets back from the external acl and continue on.
The external acl can take in the ext_log and pass it untouched out the
other side no issues too, so it doesnt appear to be simply the fact
its passing the ext_log back.

Im really stumped at to whats going on here, any help would be appreciated.

Cameron Charles
Received on Tue Jul 15 2014 - 07:04:58 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 15 2014 - 12:00:08 MDT