Mercurial > hg > nginx
comparison src/http/modules/perl/nginx.xs @ 2231:8564129d49b6
*) handle unaligned file part for directio
*) disable sendfile in directio mode
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 05 Sep 2008 14:48:47 +0000 |
parents | 7a7c9e9024dd |
children | 09cab3f8d92e |
comparison
equal
deleted
inserted
replaced
2230:25cf039c40bd | 2231:8564129d49b6 |
---|---|
679 b->file_pos = offset; | 679 b->file_pos = offset; |
680 b->file_last = offset + bytes; | 680 b->file_last = offset + bytes; |
681 | 681 |
682 b->file->fd = of.fd; | 682 b->file->fd = of.fd; |
683 b->file->log = r->connection->log; | 683 b->file->log = r->connection->log; |
684 b->file->directio = of.is_directio; | |
684 | 685 |
685 (void) ngx_http_perl_output(r, b); | 686 (void) ngx_http_perl_output(r, b); |
686 | 687 |
687 | 688 |
688 void | 689 void |