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 5186b80..380b3c2 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -1815,6 +1815,7 @@ r->valid_unparsed_uri = 0; ngx_http_internal_redirect(r, uri, &args); + ngx_http_finalize_request(r, NGX_DONE); return NGX_DONE; }