delete u->cleanup mark, this fixes large values in $upstream_response_time,
the bug had been introduced in r3007
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index fa43489..776a3a1 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -366,6 +366,7 @@
r->main->count++;
ngx_http_upstream_cleanup(r);
*u->cleanup = NULL;
+ u->cleanup = NULL;
}
u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));
@@ -2856,6 +2857,7 @@
if (u->cleanup) {
*u->cleanup = NULL;
+ u->cleanup = NULL;
}
if (u->resolved && u->resolved->ctx) {