Re: Transferred file size limit

From: Bill Wichers <>
Date: Tue, 17 Mar 1998 13:45:35 -0500 (EST)

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

I found this setting the hard way when some gamer was getting all mad that
squid wouldn't let him download some massive demo. What woul happen is
that squid would get up to the request_size limit (something like 16 MB at
the time) and then dump the connection for the user. I now use a
request_size of 96 MB (request_size 98304) and all seems to be well -- at
least until someone releases a 97 MB software package :-)


On Tue, 17 Mar 1998, Alex Rousskov wrote:

> On Tue, 17 Mar 1998, Ricardo Patara wrote:
> > Khuanchai Supparatpinyo wrote:
> > > I'm using Squid 1.12 on a Linux Redhat 4.2 system.
> > > Is there any way to limit the size of file that is requested by ftp:// or
> > > http://?
> >
> > Yes, in the file squid.conf there is a line where you can limit the size
> > of file cached:
> > # TAG: maximum_object_size
> Note that you cannot limit the "size of file that is requested" though. That
> is, Squid will request and forward even a 2GB file to a client if client asks
> for it. "maximum_object_size" limits the size of a cached file. There is no
> option to limit the network _transfer_ size.
> Alex.
Received on Tue Mar 17 1998 - 10:52:32 MST

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