comparison src/http/ngx_http_cache.h @ 468: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
comparison
equal deleted inserted replaced
467:d46142e61c30 468:56baf312c1b5
46 46
47 ngx_file_uniq_t uniq; 47 ngx_file_uniq_t uniq;
48 time_t expire; 48 time_t expire;
49 time_t valid_sec; 49 time_t valid_sec;
50 size_t body_start; 50 size_t body_start;
51 off_t length;
51 } ngx_http_file_cache_node_t; 52 } ngx_http_file_cache_node_t;
52 53
53 54
54 struct ngx_http_cache_s { 55 struct ngx_http_cache_s {
55 ngx_file_t file; 56 ngx_file_t file;
98 ngx_queue_t *queue; 99 ngx_queue_t *queue;
99 ngx_slab_pool_t *shpool; 100 ngx_slab_pool_t *shpool;
100 101
101 ngx_path_t *path; 102 ngx_path_t *path;
102 103
104 ngx_atomic_t *cold;
105 off_t *size;
106
107 off_t max_size;
108 size_t bsize;
109
103 time_t inactive; 110 time_t inactive;
104 time_t created; 111
105 time_t clean_time; 112 ngx_msec_t last;
106 time_t next_clean_time; 113 ngx_uint_t files;
107 114
108 ngx_shm_zone_t *shm_zone; 115 ngx_shm_zone_t *shm_zone;
109 }; 116 };
110 117
111 118