aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/perl/nginx.xs
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/perl/nginx.xs
parent687b0e99ea4ff631e447fff2d177d0c9297529fc (diff)
downloadnginx-3266171fd4691d173f698f1c0c246322a94588e2.tar.gz
nginx-3266171fd4691d173f698f1c0c246322a94588e2.zip
read_ahead
Diffstat (limited to 'src/http/modules/perl/nginx.xs')
-rw-r--r--src/http/modules/perl/nginx.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index 077cf0ddf..8a20c4373 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -648,6 +648,7 @@ sendfile(r, filename, offset = -1, bytes = 0)
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;