comparison src/http/modules/ngx_http_flv_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 d311b7f6a403
comparison
equal deleted inserted replaced
2230:25cf039c40bd 2231:8564129d49b6
242 b->last_in_chain = 1; 242 b->last_in_chain = 1;
243 243
244 b->file->fd = of.fd; 244 b->file->fd = of.fd;
245 b->file->name = path; 245 b->file->name = path;
246 b->file->log = log; 246 b->file->log = log;
247 b->file->directio = of.is_directio;
247 248
248 out[1].buf = b; 249 out[1].buf = b;
249 out[1].next = NULL; 250 out[1].next = NULL;
250 251
251 return ngx_http_output_filter(r, &out[i]); 252 return ngx_http_output_filter(r, &out[i]);