Re: [squid-users] flexible managing of request_body_max_size with squid 2.5.STABLE12

From: Henrik Nordstrom <[email protected]>
Date: Sat, 01 Sep 2007 01:23:37 +0200

On fre, 2007-08-31 at 15:26 +0200, Nolte, Markus wrote:
> Hi !
>
> I'm trying to manage a flexible request_body_max_size based on the
> destination.
> I'm using SLES-10 (64 Bit) with squid 2.5.STABLE12. After reading some
> postings here, this should work, but it doesn't.

I think it works.. see below..

> /etc/squid/squid.conf (a part of it):
>
> external_acl_type request_body %{Content-Length} /etc/squid/request_body_size.sh
> acl request_max_20MB external request_body 20971520
> acl upload dstdomain .example.domain.de
> http_access allow upload request_max_20MB
> request_body_max_size 2 MB

The request_body_max_size directive there is global, limiting all
requests to at most 2 MB. Remove it and I think your results will be
better...

Regards
Henrik

Received on Fri Aug 31 2007 - 17:23:43 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:04 MDT