Re: Transferred file size limit

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Tue, 17 Mar 1998 15:27:36 -0700 (MST)

On Tue, 17 Mar 1998, Bill Wichers wrote:

> Actually, it is possible to limit the request size that Squid will handle.
> maximum_object_size sets the largest object size that will be *cached*,
> while request_size sets the largest object size that will be
> *transferred*.

In Squid 1.1, request_size limits the size of a _request_, not the size of a
_reply_. There are exceptions to this rule (e.g. requests handled via pass.c
have no size limit in recent Squid 1.1 versions). A reply size is unlimited.

In Squid 1.2, request_size limits the size of request _headers_. That is,
requests with a body (e.g. POST and PUT) may accede request_size. A reply
size is still unlimited.

Thus, with Squid 1.*, one can download a 100MB file using a 1K GET request,
and there is no option to prevent that.

Alex.
(after double checking with Duane:)
Received on Tue Mar 17 1998 - 14:42:13 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:24 MST