Proxy Request buffering not working as expected
francis at daoine.org
Mon Nov 6 14:28:03 UTC 2017
On Mon, Nov 06, 2017 at 04:23:06PM +0330, Mohammad Puyandeh via nginx wrote:
> If I try to upload a 200M file using POST method, nginx will pass
> chunks to back-end in less than 3 meg chunks
proxy_request_buffering says nothing about chunks being sent to the
> a quote about proxy_request_buffering from docs:
> """When buffering is enabled, the entire request body is read from
> the client before sending the request to a proxied server"""
> but this behavior which I am facing is the opposite of this quote,
You haven't explicitly reported any behaviour that contradicts this quote.
> any ideas what's going on ?
If you report that nginx starts to send the content to the back-end
before nginx has received all of the content from the client, then
proxy_request_buffering is not working as intended.
When I try a quick test here, nginx receives the full content from the
client before it tries to connect to the back-end.
Francis Daly francis at daoine.org
More information about the nginx