comparison src/http/ngx_http_script.c @ 1767:c42431762903

open_file_cache_retest > open_file_cache_valid
author Igor Sysoev <igor@sysoev.ru>
date Fri, 21 Dec 2007 16:19:48 +0000
parents bef67c6abbe7
children 25c93614e6b9
comparison
equal deleted inserted replaced
1766:111eb827ed44 1767:c42431762903
974 "http script file op %p \"%V\"", code->op, &path); 974 "http script file op %p \"%V\"", code->op, &path);
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.retest = clcf->open_file_cache_retest; 979 of.valid = clcf->open_file_cache_valid;
980 of.errors = clcf->open_file_cache_errors; 980 of.errors = clcf->open_file_cache_errors;
981 of.events = clcf->open_file_cache_events; 981 of.events = clcf->open_file_cache_events;
982 982
983 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) 983 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool)
984 == NGX_ERROR) 984 == NGX_ERROR)