mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 03:22:48 +08:00
fix request counter for X-Accel-Redirect, the bug was introduced in r3050
This commit is contained in:
parent
84b20ca18b
commit
12a7d493d4
@ -1815,6 +1815,7 @@ ngx_http_upstream_process_headers(ngx_http_request_t *r, ngx_http_upstream_t *u)
|
|||||||
r->valid_unparsed_uri = 0;
|
r->valid_unparsed_uri = 0;
|
||||||
|
|
||||||
ngx_http_internal_redirect(r, uri, &args);
|
ngx_http_internal_redirect(r, uri, &args);
|
||||||
|
ngx_http_finalize_request(r, NGX_DONE);
|
||||||
return NGX_DONE;
|
return NGX_DONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user