summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2017-02-10 15:13:41 +0300
committerRoman Arutyunyan <arut@nginx.com>2017-02-10 15:13:41 +0300
commit3e4339eacd35084afae67826295b29ae7ad73dc5 (patch)
treeeeca5877fa551032d4836afe7fd8eee01d78aa35 /src/http/ngx_http_upstream.h
parentda2b2cf1e039630cec84e8b67d99c4d578361b0d (diff)
downloadnginx-3e4339eacd35084afae67826295b29ae7ad73dc5.tar.gz
nginx-3e4339eacd35084afae67826295b29ae7ad73dc5.tar.bz2
Upstream: proxy_cache_background_update and friends.
The directives enable cache updates in subrequests.
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_upstream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index 7f601ee0b..625889b6a 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -202,6 +202,7 @@ typedef struct {
ngx_flag_t cache_revalidate;
ngx_flag_t cache_convert_head;
+ ngx_flag_t cache_background_update;
ngx_array_t *cache_valid;
ngx_array_t *cache_bypass;