[squid-users] Problem with upload size limit in squid

Raj Nagar rajjnagar at gmail.com
Fri Feb 26 01:44:04 UTC 2021


Hi Alex,

Thanks for your response. Is there any way by which I can enforce these
limits on other protocols as https ?

On Thu, Feb 25, 2021, 23:33 Alex Rousskov <rousskov at measurement-factory.com>
wrote:

> On 2/24/21 11:51 PM, Raj Nagar wrote:
>
> > I am using squid as forward proxy and want to restrict upload of files
> > larger than 1 MB. I have used following configuration for
> > same: *request_body_max_size 1 MB*.
> > But this is not working for me and I am able to upload larger files.
> > Can someone please help for same. Thanks in advance
>
> Does your Squid have access to the HTTP request information? For
> example, if it is an HTTPS request, and you are not bumping the
> corresponding TLS connection, then Squid would not be working at HTTP
> level and, hence, would not be able to limit individual HTTP request sizes.
>
> The corresponding access.log record may tell us more about the
> problematic transaction.
>
>
> HTH,
>
> Alex.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210226/8357f989/attachment.htm>


More information about the squid-users mailing list