summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/http/modules/ngx_http_mp4_module.c
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2012-06-13 07:33:36 +0000
committerrobert <robert@openbsd.org>2012-06-13 07:33:36 +0000
commitf8651fdfd59d64d4df8a74209c79b837a5a89d2d (patch)
treeea72468b2c27bd735047e19dd4c21cc97f9af1db /usr.sbin/nginx/src/http/modules/ngx_http_mp4_module.c
parentRemove duplicate description of FORK_TFORK (diff)
downloadwireguard-openbsd-f8651fdfd59d64d4df8a74209c79b837a5a89d2d.tar.xz
wireguard-openbsd-f8651fdfd59d64d4df8a74209c79b837a5a89d2d.zip
update to 1.2.1
Diffstat (limited to 'usr.sbin/nginx/src/http/modules/ngx_http_mp4_module.c')
-rw-r--r--usr.sbin/nginx/src/http/modules/ngx_http_mp4_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nginx/src/http/modules/ngx_http_mp4_module.c b/usr.sbin/nginx/src/http/modules/ngx_http_mp4_module.c
index 433e118a227..2c8cfd171ad 100644
--- a/usr.sbin/nginx/src/http/modules/ngx_http_mp4_module.c
+++ b/usr.sbin/nginx/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;