comparison src/http/modules/ngx_http_static_module.c @ 1772:25c93614e6b9

open_file_cache_min_uses
author Igor Sysoev <igor@sysoev.ru>
date Sat, 22 Dec 2007 13:19:39 +0000
parents c42431762903
children 0b5b94805d26
comparison
equal deleted inserted replaced
1771:b794d78e52c5 1772:25c93614e6b9
96 96
97 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 97 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
98 98
99 of.test_dir = 0; 99 of.test_dir = 0;
100 of.valid = clcf->open_file_cache_valid; 100 of.valid = clcf->open_file_cache_valid;
101 of.min_uses = clcf->open_file_cache_min_uses;
101 of.errors = clcf->open_file_cache_errors; 102 of.errors = clcf->open_file_cache_errors;
102 of.events = clcf->open_file_cache_events; 103 of.events = clcf->open_file_cache_events;
103 104
104 rc = ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool); 105 rc = ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool);
105 106