comparison src/http/modules/ngx_http_gzip_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 25add486e7aa
children aee735f41627
comparison
equal deleted inserted replaced
2230:25cf039c40bd 2231:8564129d49b6
233 b->last_in_chain = 1; 233 b->last_in_chain = 1;
234 234
235 b->file->fd = of.fd; 235 b->file->fd = of.fd;
236 b->file->name = path; 236 b->file->name = path;
237 b->file->log = log; 237 b->file->log = log;
238 b->file->directio = of.is_directio;
238 239
239 out.buf = b; 240 out.buf = b;
240 out.next = NULL; 241 out.next = NULL;
241 242
242 return ngx_http_output_filter(r, &out); 243 return ngx_http_output_filter(r, &out);