Mercurial > hg > nginx-quic
comparison src/http/ngx_http_cache.h @ 6709:e08e741f74cd
Modules compatibility: cache purge fields.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 29 Sep 2016 18:06:01 +0300 |
parents | c9d680b00744 |
children | ca709bca4b77 |
comparison
equal
deleted
inserted
replaced
6708:4080f94a996f | 6709:e08e741f74cd |
---|---|
48 unsigned valid_msec:10; | 48 unsigned valid_msec:10; |
49 unsigned error:10; | 49 unsigned error:10; |
50 unsigned exists:1; | 50 unsigned exists:1; |
51 unsigned updating:1; | 51 unsigned updating:1; |
52 unsigned deleting:1; | 52 unsigned deleting:1; |
53 /* 11 unused bits */ | 53 unsigned purged:1; |
54 /* 10 unused bits */ | |
54 | 55 |
55 ngx_file_uniq_t uniq; | 56 ngx_file_uniq_t uniq; |
56 time_t expire; | 57 time_t expire; |
57 time_t valid_sec; | 58 time_t valid_sec; |
58 size_t body_start; | 59 size_t body_start; |
83 off_t fs_size; | 84 off_t fs_size; |
84 | 85 |
85 ngx_uint_t min_uses; | 86 ngx_uint_t min_uses; |
86 ngx_uint_t error; | 87 ngx_uint_t error; |
87 ngx_uint_t valid_msec; | 88 ngx_uint_t valid_msec; |
89 ngx_uint_t vary_tag; | |
88 | 90 |
89 ngx_buf_t *buf; | 91 ngx_buf_t *buf; |
90 | 92 |
91 ngx_http_file_cache_t *file_cache; | 93 ngx_http_file_cache_t *file_cache; |
92 ngx_http_file_cache_node_t *node; | 94 ngx_http_file_cache_node_t *node; |
107 | 109 |
108 unsigned updated:1; | 110 unsigned updated:1; |
109 unsigned updating:1; | 111 unsigned updating:1; |
110 unsigned exists:1; | 112 unsigned exists:1; |
111 unsigned temp_file:1; | 113 unsigned temp_file:1; |
114 unsigned purged:1; | |
112 unsigned reading:1; | 115 unsigned reading:1; |
113 unsigned secondary:1; | 116 unsigned secondary:1; |
114 }; | 117 }; |
115 | 118 |
116 | 119 |