Mercurial > hg > nginx
diff src/http/ngx_http_request.h @ 6906:1aeaae6e9446
Upstream: proxy_cache_background_update and friends.
The directives enable cache updates in subrequests.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 10 Feb 2017 15:13:41 +0300 |
parents | e38e9c50a40e |
children | e662cbf1b932 |
line wrap: on
line diff
--- a/src/http/ngx_http_request.h Thu Dec 22 14:25:34 2016 +0300 +++ b/src/http/ngx_http_request.h Fri Feb 10 15:13:41 2017 +0300 @@ -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 @@ #if (NGX_HTTP_CACHE) unsigned cached:1; + unsigned cache_updater:1; #endif #if (NGX_HTTP_GZIP)