commit | 26ee40b94acd89d62da6eaff51a4a73d8e409dd1 | [log] [tgz] |
---|---|---|
author | Roman Arutyunyan <arut@nginx.com> | Thu Sep 03 15:09:21 2015 +0300 |
committer | Roman Arutyunyan <arut@nginx.com> | Thu Sep 03 15:09:21 2015 +0300 |
tree | 89db17f2f1f4f4c3b38c02141af194c5ef482057 | |
parent | 8764242c5749f528ca8249c4bb3799ef83333ec8 [diff] |
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).