diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-09-29 18:06:01 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-09-29 18:06:01 +0300 |
| commit | 27c8065e7b713dfa44ca52616c55987a41e25788 (patch) | |
| tree | 074e667e2403b289c35153d412d5bc7fcabac253 /src/http/ngx_http_cache.h | |
| parent | f3ece607233776ed164f1004d682787d16a5c699 (diff) | |
| download | nginx-27c8065e7b713dfa44ca52616c55987a41e25788.tar.gz nginx-27c8065e7b713dfa44ca52616c55987a41e25788.tar.bz2 | |
Modules compatibility: cache purge fields.
Diffstat (limited to 'src/http/ngx_http_cache.h')
| -rw-r--r-- | src/http/ngx_http_cache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index 2667cbbba..4aa947fbe 100644 --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -50,7 +50,8 @@ typedef struct { unsigned exists:1; unsigned updating:1; unsigned deleting:1; - /* 11 unused bits */ + unsigned purged:1; + /* 10 unused bits */ ngx_file_uniq_t uniq; time_t expire; @@ -85,6 +86,7 @@ struct ngx_http_cache_s { ngx_uint_t min_uses; ngx_uint_t error; ngx_uint_t valid_msec; + ngx_uint_t vary_tag; ngx_buf_t *buf; @@ -109,6 +111,7 @@ struct ngx_http_cache_s { unsigned updating:1; unsigned exists:1; unsigned temp_file:1; + unsigned purged:1; unsigned reading:1; unsigned secondary:1; }; |
