Welcome! Log In Create A New Profile

Advanced

Re: Proxy Request buffering not working as expected

Francis Daly
November 06, 2017 09:30AM
On Mon, Nov 06, 2017 at 04:23:06PM +0330, Mohammad Puyandeh via nginx wrote:

Hi there,

> 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
back-end.

> 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.

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Proxy Request buffering not working as expected

Mohammad Puyandeh via nginx November 06, 2017 07:54AM

Re: Proxy Request buffering not working as expected

Francis Daly November 06, 2017 09:30AM

Re: Proxy Request buffering not working as expected

Mohammad Puyandeh via nginx November 06, 2017 10:46AM

Re: Proxy Request buffering not working as expected

Francis Daly November 06, 2017 01:58PM

Re: Proxy Request buffering not working as expected

Mohammad Puyandeh via nginx November 07, 2017 09:36AM

Re: Proxy Request buffering not working as expected

Francis Daly November 09, 2017 08:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 216
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready