summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index d04b66906..23db15aea 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -175,7 +175,7 @@ typedef struct {
ngx_http_upstream_local_t *local;
#if (NGX_HTTP_CACHE)
- ngx_shm_zone_t *cache;
+ ngx_shm_zone_t *cache_zone;
ngx_uint_t cache_min_uses;
ngx_uint_t cache_use_stale;
@@ -195,6 +195,9 @@ typedef struct {
ngx_array_t *store_lengths;
ngx_array_t *store_values;
+#if (NGX_HTTP_CACHE)
+ signed cache:2;
+#endif
signed store:2;
unsigned intercept_404:1;
unsigned change_buffering:1;