comparison src/http/modules/ngx_http_flv_module.c @ 4611:2b6cb7528409

Allows particular modules to handle subrequests properly.
author Andrey Belov <defan@nginx.com>
date Thu, 26 Apr 2012 13:06:27 +0000
parents 13e09cf11d4e
children 192f54280a7a
comparison
equal deleted inserted replaced
4610:778d2cc03e22 4611:2b6cb7528409
233 233
234 b->file_pos = start; 234 b->file_pos = start;
235 b->file_last = of.size; 235 b->file_last = of.size;
236 236
237 b->in_file = b->file_last ? 1: 0; 237 b->in_file = b->file_last ? 1: 0;
238 b->last_buf = 1; 238 b->last_buf = (r == r->main) ? 1 : 0;
239 b->last_in_chain = 1; 239 b->last_in_chain = 1;
240 240
241 b->file->fd = of.fd; 241 b->file->fd = of.fd;
242 b->file->name = path; 242 b->file->name = path;
243 b->file->log = log; 243 b->file->log = log;