]> git.kaiwu.me - nginx.git/commit
Do not set last_buf flag in subrequests.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 3 Oct 2016 17:48:51 +0000 (20:48 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 3 Oct 2016 17:48:51 +0000 (20:48 +0300)
commitf3bbd1c87f0bc97367603c3254c1465d3c622d1f
treeb6050595c803493f32b0bef7f590a4fadbd1f64c
parent2e12afb955a211f55bfdcb3f3d92fc1b42d9dc99
Do not set last_buf flag in subrequests.

The last_buf flag should only be set in the last buffer of the main request.
Otherwise, several last_buf flags can appear in output.  This can, for example,
break the chunked filter, which will include several final chunks in output.
src/http/modules/ngx_http_mp4_module.c
src/http/modules/ngx_http_range_filter_module.c
src/http/ngx_http_special_response.c