comparison src/http/modules/ngx_http_index_module.c @ 544:f7ec98e3caeb NGINX_0_8_18

nginx 0.8.18 *) Feature: the "read_ahead" directive. *) Feature: now several "perl_modules" directive may be used. *) Feature: the "limit_req_log_level" and "limit_conn_log_level" directives. *) Bugfix: now "limit_req" directive conforms to the leaky bucket algorithm. Thanks to Maxim Dounin. *) Bugfix: nginx did not work on Linux/sparc. Thanks to Marcus Ramberg. *) Bugfix: nginx sent '\0' in a "Location" response header line on MKCOL request. Thanks to Xie Zhenye. *) Bugfix: zero status code was logged instead of 499 status code; the bug had appeared in 0.8.11. *) Bugfix: socket leak; the bug had appeared in 0.8.11.
author Igor Sysoev <http://sysoev.ru>
date Tue, 06 Oct 2009 00:00:00 +0400
parents 4c5d2c627a6c
children ff463db0be31
comparison
equal deleted inserted replaced
543:7688992d2abb 544:f7ec98e3caeb
203 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 203 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
204 "open index \"%V\"", &path); 204 "open index \"%V\"", &path);
205 205
206 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); 206 ngx_memzero(&of, sizeof(ngx_open_file_info_t));
207 207
208 of.read_ahead = clcf->read_ahead;
208 of.directio = clcf->directio; 209 of.directio = clcf->directio;
209 of.valid = clcf->open_file_cache_valid; 210 of.valid = clcf->open_file_cache_valid;
210 of.min_uses = clcf->open_file_cache_min_uses; 211 of.min_uses = clcf->open_file_cache_min_uses;
211 of.test_only = 1; 212 of.test_only = 1;
212 of.errors = clcf->open_file_cache_errors; 213 of.errors = clcf->open_file_cache_errors;