On 26 Jul 2001 15:29:05 -0400, Brian wrote:
> I would prefer to see something like this added as per-client-request.
All ACL based rules are per-request. Thus a reply-body-limit acl would
look something like
acl helpdesk proxy_auth john
acl media rep_mime_type ^audio/wav$
http_reply_body_limit -1 helpdesk
http_reply_body_limit 5000000 media
where the number is the limit, and the rest of the line is acl's just
like with http_access rules. The body limit for the request will be set
by the first matching line. -1 means uncapped.
Rob
> That would give you more flexibility for restricting by site or file type.
> You could cap audio/video downloads while still letting all zips through,
> for instance.
>
> -- Brian
>
> On Thursday 26 July 2001 08:37 am, Mads Rasmussen wrote:
> > > Thinking about this: what about an approach where we calculate the
> > > limit that will apply to a transfer, and then that result gets cached
> > > and tested against? (Adrian - is that the result you meant? If so -
> > > Doh! Sorry!)
> >
> > That calculation could consult a userlist, where a limit is specified
> > for each user. A specific term like "ALL" could be used to induce the
> > same funcionality as in the reply_max_body
Received on Thu Jul 26 2001 - 21:37:04 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:19 MST