comparison src/http/ngx_http_script.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
975 975
976 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 976 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
977 977
978 of.test_dir = 0; 978 of.test_dir = 0;
979 of.valid = clcf->open_file_cache_valid; 979 of.valid = clcf->open_file_cache_valid;
980 of.min_uses = clcf->open_file_cache_min_uses;
980 of.errors = clcf->open_file_cache_errors; 981 of.errors = clcf->open_file_cache_errors;
981 of.events = clcf->open_file_cache_events; 982 of.events = clcf->open_file_cache_events;
982 983
983 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) 984 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool)
984 == NGX_ERROR) 985 == NGX_ERROR)