Mercurial > hg > nginx
comparison src/http/modules/ngx_http_static_module.c @ 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 | 23309bcd9937 |
children | 87b8c44906b5 |
comparison
equal
deleted
inserted
replaced
2230:25cf039c40bd | 2231:8564129d49b6 |
---|---|
249 b->last_in_chain = 1; | 249 b->last_in_chain = 1; |
250 | 250 |
251 b->file->fd = of.fd; | 251 b->file->fd = of.fd; |
252 b->file->name = path; | 252 b->file->name = path; |
253 b->file->log = log; | 253 b->file->log = log; |
254 b->file->directio = of.is_directio; | |
254 | 255 |
255 out.buf = b; | 256 out.buf = b; |
256 out.next = NULL; | 257 out.next = NULL; |
257 | 258 |
258 return ngx_http_output_filter(r, &out); | 259 return ngx_http_output_filter(r, &out); |