The official NGINX Open Source repository.
Go to file
Maxim Dounin 2b032e8df6 Upstream: avoid duplicate finalization.
A request may be already finalized when ngx_http_upstream_finalize_request()
is called, due to filter finalization: after filter finalization upstream
can be finalized via ngx_http_upstream_cleanup(), either from
ngx_http_terminate_request(), or because a new request was initiated
to an upstream.  Then the upstream code will see an error returned from
the filter chain and will call the ngx_http_upstream_finalize_request()
function again.

To prevent corruption of various upstream data in this situation, make sure
to do nothing but merely call ngx_http_finalize_request().

Prodded by Yichun Zhang, for details see the thread at
http://nginx.org/pipermail/nginx-devel/2015-February/006539.html.
2015-03-02 21:44:32 +03:00
auto Configure: typo fixed. 2015-02-11 20:18:55 +03:00
conf MIME: added application/xspf+xml MIME type (ticket #479). 2014-03-06 10:51:08 +01:00
contrib Contrib: add more directives to vim syntax. 2014-10-22 15:31:19 +02:00
docs nginx-1.7.10-RELEASE 2015-02-10 17:33:32 +03:00
misc Updated OpenSSL used for win32 builds. 2015-02-10 16:54:12 +03:00
src Upstream: avoid duplicate finalization. 2015-03-02 21:44:32 +03:00
.hgtags release-1.7.10 tag 2015-02-10 17:33:32 +03:00