comparison src/http/ngx_http_core_module.h @ 7220:20f139e9ffa8

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.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 28 Feb 2018 16:56:58 +0300
parents cce6936ed2f4
children 7f955d3b9a0d
comparison
equal deleted inserted replaced
7219:d0d32b33167d 7220:20f139e9ffa8
349 size_t postpone_output; /* postpone_output */ 349 size_t postpone_output; /* postpone_output */
350 size_t limit_rate; /* limit_rate */ 350 size_t limit_rate; /* limit_rate */
351 size_t limit_rate_after; /* limit_rate_after */ 351 size_t limit_rate_after; /* limit_rate_after */
352 size_t sendfile_max_chunk; /* sendfile_max_chunk */ 352 size_t sendfile_max_chunk; /* sendfile_max_chunk */
353 size_t read_ahead; /* read_ahead */ 353 size_t read_ahead; /* read_ahead */
354 size_t subrequest_output_buffer_size;
355 /* subrequest_output_buffer_size */
354 356
355 ngx_msec_t client_body_timeout; /* client_body_timeout */ 357 ngx_msec_t client_body_timeout; /* client_body_timeout */
356 ngx_msec_t send_timeout; /* send_timeout */ 358 ngx_msec_t send_timeout; /* send_timeout */
357 ngx_msec_t keepalive_timeout; /* keepalive_timeout */ 359 ngx_msec_t keepalive_timeout; /* keepalive_timeout */
358 ngx_msec_t lingering_time; /* lingering_time */ 360 ngx_msec_t lingering_time; /* lingering_time */