Re: [squid-users] ACL based on request body size.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 26 May 2005 15:14:38 +0200 (CEST)

On Sat, 30 Apr 2005, Dawid Zabrocki wrote:

> Is it possible to acl basing on reply body size ?

No, only request body size (amount of data uploaded etc..).

Reason: The reply body size is only known when the response arrives, at
which point most acl processing (including delay_access) has already
completed.

Further, the reply body size is not always known. Quite many downloads
have "unknown" size (size not specified by the origin server) complicating
this further.

In theory it should be possible to extend Squid to reassign the delay pool
based on the reply, including reply size when known. This is however not
how things works today and some hours of coding is required to change
this.

Regards
Henrik
Received on Thu May 26 2005 - 07:14:41 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:03 MDT