Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_mp4_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 | 3f874d645f45 |
children | 7f50a4063100 1c7616100797 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_mp4_module.c +++ b/src/http/modules/ngx_http_mp4_module.c @@ -616,7 +616,7 @@ ngx_http_mp4_handler(ngx_http_request_t b->file_last = of.size; b->in_file = b->file_last ? 1 : 0; - b->last_buf = 1; + b->last_buf = (r == r->main) ? 1 : 0; b->last_in_chain = 1; b->file->fd = of.fd;