commit | e0e1c4567cb5f23fae5201e3a167aa788d35696b | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Fri May 04 11:35:22 2012 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Fri May 04 11:35:22 2012 +0000 |
tree | 0c477fd4a883deb1fd5cb06e6d386e7afb6fc398 | |
parent | 700364f62dedba8f1b0b1ad965bf7d6425b02201 [diff] |
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).