]> git.kaiwu.me - nginx.git/commit
Slice filter: prevented slice redirection (ticket #1219).
authorRoman Arutyunyan <arut@nginx.com>
Fri, 31 Mar 2017 18:47:56 +0000 (21:47 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Fri, 31 Mar 2017 18:47:56 +0000 (21:47 +0300)
commitc31239ffb46586a00e60d957c844ffe63b138144
treee822d5fcfaad96af1f612b302b1db8e77b0abaae
parent8c9a66298c627ed4eae2557b322c3f33da97eca4
Slice filter: prevented slice redirection (ticket #1219).

When a slice subrequest was redirected to a new location, its context was lost.
After its completion, a new slice subrequest for the same slice was created.
This could lead to infinite loop.  Now the slice module makes sure each slice
subrequest starts output with the slice context available.
src/http/modules/ngx_http_slice_filter_module.c