[squid-users] issue getting replay_body_max_size to work with an external acl

From: Cameron Charles <cameron_at_getbusi.com>
Date: Wed, 30 May 2012 16:05:50 +1000

Hi,

I am trying to use an external acl to "toggle" a reply_body_max_size,
so im my conf i have the following

reply_body_max_size 1 MB extaclname

and extaclname is setup to run a check on some data and return its
findings with an OK or ERR, the ext acl works correctly as its used
elsewhere in squids workings but i cannot get it restrict the reply
size when it should be, in fact it appears never to "run" the acl as
some debug message in the external check are never fired

I have found this very old posting
http://www.mail-archive.com/squid-users@squid-cache.org/msg59937.html
which mentions " you may be able to get this to work then by adding
the ACL test to an http_reply_access line as well." but im not sure
how to implement this in anyway that would affect the line i have
above

any ideas or hints would be great

thank
cam
Received on Wed May 30 2012 - 06:05:58 MDT

This archive was generated by hypermail 2.2.0 : Wed May 30 2012 - 12:00:06 MDT