]> git.kaiwu.me - nginx.git/commit
Added write event handler reset in ngx_http_named_location().
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 4 May 2012 11:35:22 +0000 (11:35 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 4 May 2012 11:35:22 +0000 (11:35 +0000)
commite0e1c4567cb5f23fae5201e3a167aa788d35696b
tree0c477fd4a883deb1fd5cb06e6d386e7afb6fc398
parent700364f62dedba8f1b0b1ad965bf7d6425b02201
Added write event handler reset in ngx_http_named_location().

On internal redirects this happens via ngx_http_handler() call, which is
not called on named location redirect.  As a result incorrect write handler
remained (if previously set) and this might cause incorrect behaviour (likely
request hang).

Patch by Yichun Zhang (agentzh).
src/http/ngx_http_core_module.c