How do proxy_module response buffering options work?
mdounin at mdounin.ru
Mon Apr 25 02:14:23 MSD 2011
On Mon, Apr 25, 2011 at 12:07:30AM +0200, Hongli Lai wrote:
> Maxim Dounin wrote in post #994788:
> > Busy buffers are buffers which are already passed downstream but
> > not yet completely send (and hence can't be reused). The
> > proxy_busy_buffers_size directive limits maximum total size of
> > such buffers and thus allows remaining buffers to be used to read
> > upstream response (and spool it to disk if needed).
> How can this be? Isn't there only a single buffer at any time that's
> only partially passed downstream?
No, nginx passes downstream chain of buffers, not a single buffer.
> The proxy buffers are per request, not global, right?
More information about the nginx