diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-10-26 17:23:49 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-10-26 17:23:49 +0000 |
| commit | 7571f6c962e5b02abf01b2f1c9f84cb109728d4d (patch) | |
| tree | 5170b786a8b635703d8d7e1d61bf16bb94ac85b3 /src/http/ngx_http_cache.h | |
| parent | 7201f40d9fa6e0bf548dffb76e8fb6ab7bac5cf6 (diff) | |
| download | nginx-7571f6c962e5b02abf01b2f1c9f84cb109728d4d.tar.gz nginx-7571f6c962e5b02abf01b2f1c9f84cb109728d4d.tar.bz2 | |
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.
Diffstat (limited to 'src/http/ngx_http_cache.h')
| -rw-r--r-- | src/http/ngx_http_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index 1ee80751d..6ac6fd876 100644 --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -97,6 +97,7 @@ typedef struct { ngx_rbtree_node_t sentinel; ngx_queue_t queue; ngx_atomic_t cold; + ngx_atomic_t loading; off_t size; } ngx_http_file_cache_sh_t; |
