summaryrefslogtreecommitdiffhomepage
path: root/docs/xml/nginx
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2017-10-10 01:04:54 +0300
committerSergey Kandaurov <pluknet@nginx.com>2017-10-10 01:04:54 +0300
commit661e40864f404b91ee38b3326e4e0e65f29417ec (patch)
tree34ef618f47da843c2d3d7dd4a80a55c7e4dfdfb1 /docs/xml/nginx
parent0737e6d841d87e734dfb980a59094c26621bb80d (diff)
downloadnginx-661e40864f404b91ee38b3326e4e0e65f29417ec.tar.gz
nginx-661e40864f404b91ee38b3326e4e0e65f29417ec.tar.bz2
Upstream: fixed error handling of stale and revalidated cache send.
The NGX_DONE value returned from ngx_http_upstream_cache_send() indicates that upstream was already finalized in ngx_http_upstream_process_headers(). It was treated as a generic error which resulted in duplicate finalization. Handled NGX_HTTP_UPSTREAM_INVALID_HEADER from ngx_http_upstream_cache_send(). Previously, it could return within ngx_http_upstream_finalize_request(), and since it's below NGX_HTTP_SPECIAL_RESPONSE, a client connection could stuck.
Diffstat (limited to 'docs/xml/nginx')
0 files changed, 0 insertions, 0 deletions