Mercurial > hg > nginx
diff src/http/ngx_http_upstream.h @ 5951:610832763648
Upstream: added variables support to proxy_cache and friends.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 22 Dec 2014 12:59:09 +0300 |
parents | 634da79665d3 |
children | 0a198a517eaf |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.h Mon Dec 22 12:59:06 2014 +0300 +++ b/src/http/ngx_http_upstream.h Mon Dec 22 12:59:09 2014 +0300 @@ -176,6 +176,7 @@ #if (NGX_HTTP_CACHE) ngx_shm_zone_t *cache_zone; + ngx_http_complex_value_t *cache_value; ngx_uint_t cache_min_uses; ngx_uint_t cache_use_stale; @@ -300,6 +301,9 @@ ngx_chain_writer_ctx_t writer; ngx_http_upstream_conf_t *conf; +#if (NGX_HTTP_CACHE) + ngx_array_t *caches; +#endif ngx_http_upstream_headers_in_t headers_in;