The official NGINX Open Source repository.
Go to file
Sergey Kandaurov 661e40864f 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.
2017-10-10 01:04:54 +03:00
auto Mirror module. 2017-07-20 08:50:49 +03:00
conf MIME: added most common OpenDocument types. 2017-10-02 19:07:01 +03:00
contrib Contrib: proper syntax parsing in vim syntax highlighting. 2017-05-22 16:34:47 +03:00
docs Trailing space removed. 2017-09-11 16:41:39 +03:00
misc Updated PCRE used for win32 builds. 2017-08-08 15:21:10 +03:00
src Upstream: fixed error handling of stale and revalidated cache send. 2017-10-10 01:04:54 +03:00
.hgtags release-1.13.5 tag 2017-09-05 17:59:31 +03:00