diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-09-05 14:48:47 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-09-05 14:48:47 +0000 |
| commit | 8633e1fa0695ba988a9250c9c4af7ad3d19ae1f4 (patch) | |
| tree | 2bebe79cee832fc58d309a4d7f591138b03d62a4 /src/http/modules/perl/nginx.xs | |
| parent | 98007c1761efa283dab39b6ea7b9f303d343a459 (diff) | |
| download | nginx-8633e1fa0695ba988a9250c9c4af7ad3d19ae1f4.tar.gz nginx-8633e1fa0695ba988a9250c9c4af7ad3d19ae1f4.tar.bz2 | |
*) handle unaligned file part for directio
*) disable sendfile in directio mode
Diffstat (limited to '')
| -rw-r--r-- | src/http/modules/perl/nginx.xs | 1 |
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); |
