comparison src/http/modules/ngx_http_static_module.c @ 3178:975f0558aab3

read_ahead
author Igor Sysoev <igor@sysoev.ru>
date Wed, 30 Sep 2009 13:21:52 +0000
parents 09cab3f8d92e
children 9f20a6e758c3
comparison
equal deleted inserted replaced
3177:adc4fc0c3cc3 3178:975f0558aab3
89 89
90 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 90 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
91 91
92 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); 92 ngx_memzero(&of, sizeof(ngx_open_file_info_t));
93 93
94 of.read_ahead = clcf->read_ahead;
94 of.directio = clcf->directio; 95 of.directio = clcf->directio;
95 of.valid = clcf->open_file_cache_valid; 96 of.valid = clcf->open_file_cache_valid;
96 of.min_uses = clcf->open_file_cache_min_uses; 97 of.min_uses = clcf->open_file_cache_min_uses;
97 of.errors = clcf->open_file_cache_errors; 98 of.errors = clcf->open_file_cache_errors;
98 of.events = clcf->open_file_cache_events; 99 of.events = clcf->open_file_cache_events;