Tarak Ranjan wrote:
> Hi List,
> I have set those acl for limiting the download size in
> squid.conf file,
> acl limitsize2 time MTWHF 00:30-07:55
> acl limitsize time MTWHF 8:00-20:00
> acl limitsize1 time SA 00:10-23:59
>
> reply_body_max_size 25600 allow limitsize
> reply_body_max_size 1024 allow limitsize2
> reply_body_max_size 1024 allow limitsize1
>
> And #Default:
> request_body_max_size 0 KB
>
> The following error was encountered:
>
> * The request or reply is too large.
>
> If you are making a POST or PUT request, then
> your request body (the thing you are trying to upload)
> is too large. If you are making a GET request, then
> the reply body (what you are trying to download) is
> too large. These limits have been established by the
> Internet Service Provider who operates this cache.
> Please contact them directly if you feel this is an
> error.
>
> Can anyone help to figure out this error.
>
> /\
> Tarak
From
http://www.squid-cache.org/Versions/v3/3.0/cfgman/reply_body_max_size.html
When the reply headers are received, the reply_body_max_size lines are
processed, and the first line where all (if any) listed ACLs are true is
used as the maximum body size for this reply.
[SNIP]
Configuration Format is: reply_body_max_size SIZE UNITS [acl ...]
So with that information, try...
reply_body_max_size 25600 B limitsize
...or...
reply_body_max_size 25600 KB limitsize
...instead.
Chris
Received on Wed Oct 22 2008 - 18:30:24 MDT
This archive was generated by hypermail 2.2.0 : Tue Oct 28 2008 - 12:00:03 MDT