aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2015-09-03 15:09:21 +0300
committerRoman Arutyunyan <arut@nginx.com>2015-09-03 15:09:21 +0300
commit51f714c85d1554ee2a1ccfe94b416e3cab6a63ad (patch)
tree89db17f2f1f4f4c3b38c02141af194c5ef482057 /src/http/ngx_http_request.c
parenta38402e306b1ef146b4fe2e150aaec77fecc2390 (diff)
downloadnginx-51f714c85d1554ee2a1ccfe94b416e3cab6a63ad.tar.gz
nginx-51f714c85d1554ee2a1ccfe94b416e3cab6a63ad.zip
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).
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions