Mercurial > hg > nginx
comparison src/http/ngx_http_script.c @ 1457:223e92651ca5
open_file_cache_events
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 03 Sep 2007 08:41:42 +0000 |
parents | f497ed7682a7 |
children | 57f3c940ae30 |
comparison
equal
deleted
inserted
replaced
1456:698ea64f71e1 | 1457:223e92651ca5 |
---|---|
975 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 975 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
976 | 976 |
977 of.test_dir = 0; | 977 of.test_dir = 0; |
978 of.retest = clcf->open_file_cache_retest; | 978 of.retest = clcf->open_file_cache_retest; |
979 of.errors = clcf->open_file_cache_errors; | 979 of.errors = clcf->open_file_cache_errors; |
980 of.events = clcf->open_file_cache_events; | |
980 | 981 |
981 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) | 982 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) |
982 == NGX_ERROR) | 983 == NGX_ERROR) |
983 { | 984 { |
984 if (of.err != NGX_ENOENT && of.err != NGX_ENOTDIR) { | 985 if (of.err != NGX_ENOENT && of.err != NGX_ENOTDIR) { |