Varnish deny big uploads

By

•

min read

My profile

Share this:
if (!std.cache_req_body(64KB)) {
    return (synth(413, "Request body too large"));
}

Ok ... however if you think to disable this quicky and end up with;

if (!std.cache_req_body(64KB)) {
#    return (synth(413, "Request body too large"));
}

The request will STILL be blocked, but without the Message on screen.

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *