fix request counter for X-Accel-Redirect, the bug was introduced in r3050

This commit is contained in:
Igor Sysoev 2009-09-13 13:45:32 +00:00
parent ce0855993c
commit 56d294cb36
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}