aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2018-02-28 16:56:58 +0300
committerRoman Arutyunyan <arut@nginx.com>2018-02-28 16:56:58 +0300
commit7c5c15a25d22b05f1baabfb14395a7924fe4fd8c (patch)
treebacddae8536e0747fa68e66d3e913d4aef9f93b6 /src/http/ngx_http_core_module.h
parent2d9db482aa92194a2258334545908d620b6dd214 (diff)
downloadnginx-7c5c15a25d22b05f1baabfb14395a7924fe4fd8c.tar.gz
nginx-7c5c15a25d22b05f1baabfb14395a7924fe4fd8c.zip
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.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index a6128b541..d79850498 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -351,6 +351,8 @@ struct ngx_http_core_loc_conf_s {
size_t limit_rate_after; /* limit_rate_after */
size_t sendfile_max_chunk; /* sendfile_max_chunk */
size_t read_ahead; /* read_ahead */
+ size_t subrequest_output_buffer_size;
+ /* subrequest_output_buffer_size */
ngx_msec_t client_body_timeout; /* client_body_timeout */
ngx_msec_t send_timeout; /* send_timeout */