comparison src/http/ngx_http_upstream.h @ 5949:634da79665d3

Upstream: refactored proxy_cache and friends. The configuration handling code has changed to look similar to the proxy_store directive and friends. This simplifies adding variable support in the following patch. No functional changes.
author Valentin Bartenev <vbart@nginx.com>
date Mon, 22 Dec 2014 12:59:02 +0300
parents 2f7e557eab5b
children 610832763648
comparison
equal deleted inserted replaced
5948:f2ff0aa89126 5949:634da79665d3
173 ngx_array_t *pass_headers; 173 ngx_array_t *pass_headers;
174 174
175 ngx_http_upstream_local_t *local; 175 ngx_http_upstream_local_t *local;
176 176
177 #if (NGX_HTTP_CACHE) 177 #if (NGX_HTTP_CACHE)
178 ngx_shm_zone_t *cache; 178 ngx_shm_zone_t *cache_zone;
179 179
180 ngx_uint_t cache_min_uses; 180 ngx_uint_t cache_min_uses;
181 ngx_uint_t cache_use_stale; 181 ngx_uint_t cache_use_stale;
182 ngx_uint_t cache_methods; 182 ngx_uint_t cache_methods;
183 183
193 #endif 193 #endif
194 194
195 ngx_array_t *store_lengths; 195 ngx_array_t *store_lengths;
196 ngx_array_t *store_values; 196 ngx_array_t *store_values;
197 197
198 #if (NGX_HTTP_CACHE)
199 signed cache:2;
200 #endif
198 signed store:2; 201 signed store:2;
199 unsigned intercept_404:1; 202 unsigned intercept_404:1;
200 unsigned change_buffering:1; 203 unsigned change_buffering:1;
201 204
202 #if (NGX_HTTP_SSL) 205 #if (NGX_HTTP_SSL)