aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.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_request.h
parentda2b2cf1e039630cec84e8b67d99c4d578361b0d (diff)
downloadnginx-3e4339eacd35084afae67826295b29ae7ad73dc5.tar.gz
nginx-3e4339eacd35084afae67826295b29ae7ad73dc5.zip
Upstream: proxy_cache_background_update and friends.
The directives enable cache updates in subrequests.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index cf9ee3c61..4cda7549d 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -62,7 +62,9 @@
/* unused 1 */
#define NGX_HTTP_SUBREQUEST_IN_MEMORY 2
#define NGX_HTTP_SUBREQUEST_WAITED 4
-#define NGX_HTTP_LOG_UNSAFE 8
+#define NGX_HTTP_SUBREQUEST_CLONE 8
+
+#define NGX_HTTP_LOG_UNSAFE 1
#define NGX_HTTP_CONTINUE 100
@@ -481,6 +483,7 @@ struct ngx_http_request_s {
#if (NGX_HTTP_CACHE)
unsigned cached:1;
+ unsigned cache_updater:1;
#endif
#if (NGX_HTTP_GZIP)