diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-09-13 13:45:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-13 13:45:32 +0000 |
commit | 12a7d493d49efacd88c1a0dd0bb2e5b4216a801f (patch) | |
tree | d7478f7f5a3ccbadddf2f543d696d58a33717568 /src | |
parent | 84b20ca18b07c4f27d3ae7a9b3660b184b051057 (diff) | |
download | nginx-12a7d493d49efacd88c1a0dd0bb2e5b4216a801f.tar.gz nginx-12a7d493d49efacd88c1a0dd0bb2e5b4216a801f.zip |
fix request counter for X-Accel-Redirect, the bug was introduced in r3050
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_upstream.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |