summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/perl/nginx.xs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 fbc7f59be..57aabecac 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -681,6 +681,7 @@ sendfile(r, filename, offset = -1, bytes = 0)
b->file->fd = of.fd;
b->file->log = r->connection->log;
+ b->file->directio = of.is_directio;
(void) ngx_http_perl_output(r, b);