Welcome! Log In Create A New Profile

Advanced

Re: questions about proxy buffers

Alexandr Gomoliako
June 10, 2011 08:36PM
On 6/11/11, Xavier Noria <fxn@hashref.com> wrote:
> What happens if the proxied server sends a response greater than the
> total buffer sizes, say 50k?

It depends whether or not you have proxy_buffering enabled.
With proxy_buffering nginx tries to receive an entire response as
quickly as possible. Even uses temporary file if response can't fit
into proxy_buffers.

> Does nginx frees buffers sending data,
> and then buffers another chunk from the proxied server, iterate until
> done?

And that's how nginx does it with disabled proxy_buffering.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

questions about proxy buffers

Xavier Noria June 10, 2011 07:52PM

Re: questions about proxy buffers

Alexandr Gomoliako June 10, 2011 08:36PM

Re: questions about proxy buffers

Maxim Dounin June 10, 2011 10:10PM

Re: questions about proxy buffers

Xavier Noria June 12, 2011 02:30PM

Re: questions about proxy buffers

Maxim Dounin June 13, 2011 05:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
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