]> git.kaiwu.me - nginx.git/commit
Clear old Location header (if any) while adding a new one.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 12 Oct 2011 13:28:03 +0000 (13:28 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 12 Oct 2011 13:28:03 +0000 (13:28 +0000)
commit72df0f400a4f6144f9c69add91002a0ff02cfe41
tree7956765c5ca64545280611b6843595d7e45e019d
parent8650c1eb24f77773f04df3ed358897c39334a1bc
Clear old Location header (if any) while adding a new one.

This prevents incorrect behaviour when another redirect is issued within
error_page 302 handler.
src/http/modules/ngx_http_static_module.c
src/http/ngx_http_core_module.c
src/http/ngx_http_core_module.h
src/http/ngx_http_script.c
src/http/ngx_http_special_response.c