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