Re: [squid-users] REQUEST: Turn "reply_body_max_size" into ACL - Please!!

From: Mads Rasmussen <[email protected]>
Date: Tue, 24 Jul 2001 10:52:49 -0300

On Tuesday 24 July 2001 10:09, you wrote:
> The problem with doing this in a "simple" way is that the ACL must be
> tested on every network read()/write() (choose one) for the object -
> because not all objects have a size. (ie dynamic objects, transfer encoded
> objects both don't).
>
> As an ACL, the generic http_reply acl handling code will handle the test -
> but calling that code for every network transfer will incur a large
> overhead. So this means we need two sorts of acls for replies - ones that
> are checked once, and ones checked continually. OR we need to ignore
> transfer encoded and dynamic objects with the ACL - which means it's
> coverage will be less than coplete.
>
> Also: What about partial object transfers - how should they be handled?

Yeah maybe it shouldn't be turned into an ACL but we need a way to create
exceptions. Like a list of powerusers maybe?, could this be done?

Regards,

Mads
Received on Tue Jul 24 2001 - 07:52:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:17 MST