comparison src/http/modules/ngx_http_mp4_module.c @ 4659:f12d474f0d5e stable-1.2

Merge of r4612: proper subrequest handling in various modules.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 04 Jun 2012 10:27:00 +0000
parents 3f874d645f45
children 7f50a4063100 1c7616100797
comparison
equal deleted inserted replaced
4658:c92289afb5be 4659:f12d474f0d5e
614 614
615 b->file_pos = 0; 615 b->file_pos = 0;
616 b->file_last = of.size; 616 b->file_last = of.size;
617 617
618 b->in_file = b->file_last ? 1 : 0; 618 b->in_file = b->file_last ? 1 : 0;
619 b->last_buf = 1; 619 b->last_buf = (r == r->main) ? 1 : 0;
620 b->last_in_chain = 1; 620 b->last_in_chain = 1;
621 621
622 b->file->fd = of.fd; 622 b->file->fd = of.fd;
623 b->file->name = path; 623 b->file->name = path;
624 b->file->log = log; 624 b->file->log = log;