client_max_body_size and chunked encoding

Frank Liu gfrankliu at gmail.com
Wed Feb 17 19:24:32 UTC 2021


Hi,

The doc
http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
says size limit is on "Content-Length", but this post
https://serverfault.com/questions/871717/nginx-disconnect-when-client-sends-chunked-body-exceeding-desired-size
says it also works on chunked encoding. Is that correct? If so, can we
update the doc? If not, what is the best way to limit the request size for
chunked encoding?

Thanks,
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210217/c8cbd523/attachment.htm>


More information about the nginx mailing list