diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-06-04 10:27:00 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-06-04 10:27:00 +0000 |
| commit | 1ba48195d7aa84ff6f130720cf2314b74cc75823 (patch) | |
| tree | d074df5c4f7bb09ac3e7adb7e919c46fda115899 /src/http/modules/ngx_http_mp4_module.c | |
| parent | 5f291006a65d7a7dbcfbb5d315f04eaf3917d868 (diff) | |
| download | nginx-1ba48195d7aa84ff6f130720cf2314b74cc75823.tar.gz nginx-1ba48195d7aa84ff6f130720cf2314b74cc75823.tar.bz2 | |
Merge of r4612: proper subrequest handling in various modules.
Diffstat (limited to 'src/http/modules/ngx_http_mp4_module.c')
| -rw-r--r-- | src/http/modules/ngx_http_mp4_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c index 433e118a2..2c8cfd171 100644 --- 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 *r) 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; |
