Re: client_max_body_size and chunked encoding

2021-02-19 Thread Sergey Kandaurov
> On 17 Feb 2021, at 22:24, Frank Liu wrote: > > 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-e

client_max_body_size and chunked encoding

2021-02-17 Thread Frank Liu
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