aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_index_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-09-30 13:21:52 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-09-30 13:21:52 +0000
commit3266171fd4691d173f698f1c0c246322a94588e2 (patch)
treec6ff4969a31639d546af48a644c5c11b5716b82d /src/http/modules/ngx_http_index_module.c
parent687b0e99ea4ff631e447fff2d177d0c9297529fc (diff)
downloadnginx-3266171fd4691d173f698f1c0c246322a94588e2.tar.gz
nginx-3266171fd4691d173f698f1c0c246322a94588e2.zip
read_ahead
Diffstat (limited to 'src/http/modules/ngx_http_index_module.c')
-rw-r--r--src/http/modules/ngx_http_index_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_index_module.c b/src/http/modules/ngx_http_index_module.c
index b58aa97c2..fe2a121b6 100644
--- a/src/http/modules/ngx_http_index_module.c
+++ b/src/http/modules/ngx_http_index_module.c
@@ -205,6 +205,7 @@ ngx_http_index_handler(ngx_http_request_t *r)
ngx_memzero(&of, sizeof(ngx_open_file_info_t));
+ of.read_ahead = clcf->read_ahead;
of.directio = clcf->directio;
of.valid = clcf->open_file_cache_valid;
of.min_uses = clcf->open_file_cache_min_uses;