]> 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)
commit9faac47113dcaec81f0427b16d27752f984fda1a
tree7f8d2967c3d59dd4384a53bd697492df785916f4
parentdf30660f4daee72e3e44018a2830c83c5c531def
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