On 6/11/11, Xavier Noria <fx...@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
Does nginx frees buffers sending data,
and then buffers another chunk from the proxied server, iterate until
And that's how nginx does it with disabled proxy_buffering.