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.