]> git.kaiwu.me - nginx.git/commit
Upstream: fixed cache send error handling.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 3 Sep 2015 12:09:21 +0000 (15:09 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 3 Sep 2015 12:09:21 +0000 (15:09 +0300)
commit51f714c85d1554ee2a1ccfe94b416e3cab6a63ad
tree89db17f2f1f4f4c3b38c02141af194c5ef482057
parenta38402e306b1ef146b4fe2e150aaec77fecc2390
Upstream: fixed cache send error handling.

The value of NGX_ERROR, returned from filter handlers, was treated as a generic
upstream error and changed to NGX_HTTP_INTERNAL_SERVER_ERROR before calling
ngx_http_finalize_request().  This resulted in "header already sent" alert
if header was already sent in filter handlers.

The problem appeared in 54e9b83d00f0 (1.7.5).
src/http/ngx_http_upstream.c