summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_cache.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_cache.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_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index d253812f6..5b135e209 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -116,6 +116,7 @@ struct ngx_http_cache_s {
unsigned purged:1;
unsigned reading:1;
unsigned secondary:1;
+ unsigned background:1;
unsigned stale_updating:1;
unsigned stale_error:1;