Mercurial > hg > nginx-quic
comparison src/http/ngx_http_cache.h @ 3247:1f3cd08ebb82 stable-0.7
merge r3017, r3018, r3019, r3020, r3021, r3022, r3023, r3196:
cache management fixes:
*) separate cache loader process
*) use real file cache length, this fixes cache size counting for responses
without "Content-Length" header and 304 responses.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Oct 2009 17:23:49 +0000 |
parents | 4f28e63e42b4 |
children | 0d8b8c84bab7 |
comparison
equal
deleted
inserted
replaced
3246:eb555a9a57d4 | 3247:1f3cd08ebb82 |
---|---|
95 typedef struct { | 95 typedef struct { |
96 ngx_rbtree_t rbtree; | 96 ngx_rbtree_t rbtree; |
97 ngx_rbtree_node_t sentinel; | 97 ngx_rbtree_node_t sentinel; |
98 ngx_queue_t queue; | 98 ngx_queue_t queue; |
99 ngx_atomic_t cold; | 99 ngx_atomic_t cold; |
100 ngx_atomic_t loading; | |
100 off_t size; | 101 off_t size; |
101 } ngx_http_file_cache_sh_t; | 102 } ngx_http_file_cache_sh_t; |
102 | 103 |
103 | 104 |
104 struct ngx_http_file_cache_s { | 105 struct ngx_http_file_cache_s { |