Re: [squid-users] Limiting download size

From: Cassiano Martin <[email protected]>
Date: Fri, 04 Apr 2008 08:53:39 -0300

Tag Name reply_body_max_size
Usage reply_body_max_size (KB)

Description
This option specifies the maximum size of a reply body. It can be used
to prevent users from downloading very large files, such as MP3's and
movies. The reply size is checked twice. First when we get the reply
headers, we check the content-length value. If the content length value
exists and is larger than this parameter, the request is denied and the
user receives an error message that says "the request or reply is too
large." If there is no content-length, and the reply size exceeds this
limit, the client's connection is just closed and they will receive a
partial reply.

Default reply_body_max_size 0
If this parameter is set to zero (the default), there will be no limit
imposed.

piyush joshi escreveu:
> Dear All,
> I want to only allow users using squid server to
> download only those files from internet which are less than 5 MB in
> size but do not know how to do this. Please help me so that i can add
> this feature in my squid server.
>
>
Received on Fri Apr 04 2008 - 05:54:12 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT