From: Igor Sysoev Date: Sun, 13 Sep 2009 13:45:32 +0000 (+0000) Subject: fix request counter for X-Accel-Redirect, the bug was introduced in r3050 X-Git-Tag: release-0.8.15~3 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=12a7d493d49efacd88c1a0dd0bb2e5b4216a801f;p=nginx.git fix request counter for X-Accel-Redirect, the bug was introduced in r3050 --- diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 5186b8010..380b3c2f0 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1815,6 +1815,7 @@ ngx_http_upstream_process_headers(ngx_http_request_t *r, ngx_http_upstream_t *u) r->valid_unparsed_uri = 0; ngx_http_internal_redirect(r, uri, &args); + ngx_http_finalize_request(r, NGX_DONE); return NGX_DONE; }