Mercurial > hg > nginx-mail
diff src/http/ngx_http_cache.h @ 507:56baf312c1b5 NGINX_0_7_46
nginx 0.7.46
*) Bugfix: the previous release tarball was incorrect.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Mar 2009 00:00:00 +0400 |
parents | c8cfb6c462ef |
children | 549994537f15 |
line wrap: on
line diff
--- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -48,6 +48,7 @@ typedef struct { time_t expire; time_t valid_sec; size_t body_start; + off_t length; } ngx_http_file_cache_node_t; @@ -100,10 +101,16 @@ struct ngx_http_file_cache_s { ngx_path_t *path; + ngx_atomic_t *cold; + off_t *size; + + off_t max_size; + size_t bsize; + time_t inactive; - time_t created; - time_t clean_time; - time_t next_clean_time; + + ngx_msec_t last; + ngx_uint_t files; ngx_shm_zone_t *shm_zone; };