mirror of
https://github.com/nginx/nginx.git
synced 2025-01-11 08:31:58 -06:00
delete u->cleanup mark, this fixes large values in $upstream_response_time,
the bug had been introduced in r3007
This commit is contained in:
parent
10fa102e32
commit
4e20f24b5b
@ -366,6 +366,7 @@ ngx_http_upstream_create(ngx_http_request_t *r)
|
|||||||
r->main->count++;
|
r->main->count++;
|
||||||
ngx_http_upstream_cleanup(r);
|
ngx_http_upstream_cleanup(r);
|
||||||
*u->cleanup = NULL;
|
*u->cleanup = NULL;
|
||||||
|
u->cleanup = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));
|
u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));
|
||||||
@ -2856,6 +2857,7 @@ ngx_http_upstream_finalize_request(ngx_http_request_t *r,
|
|||||||
|
|
||||||
if (u->cleanup) {
|
if (u->cleanup) {
|
||||||
*u->cleanup = NULL;
|
*u->cleanup = NULL;
|
||||||
|
u->cleanup = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (u->resolved && u->resolved->ctx) {
|
if (u->resolved && u->resolved->ctx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user