]> git.kaiwu.me - nginx.git/commit
Generic subrequests in memory.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 28 Feb 2018 13:56:58 +0000 (16:56 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 28 Feb 2018 13:56:58 +0000 (16:56 +0300)
commit7c5c15a25d22b05f1baabfb14395a7924fe4fd8c
treebacddae8536e0747fa68e66d3e913d4aef9f93b6
parent2d9db482aa92194a2258334545908d620b6dd214
Generic subrequests in memory.

Previously, only the upstream response body could be accessed with the
NGX_HTTP_SUBREQUEST_IN_MEMORY feature.  Now any response body from a subrequest
can be saved in a memory buffer.  It is available as a single buffer in r->out
and the buffer size is configured by the subrequest_output_buffer_size
directive.

Upstream, proxy and fastcgi code used to handle the old-style feature is
removed.
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_ssi_filter_module.c
src/http/ngx_http_core_module.c
src/http/ngx_http_core_module.h
src/http/ngx_http_postpone_filter_module.c
src/http/ngx_http_upstream.c