aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-01-29 16:45:14 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-01-29 16:45:14 +0000
commit4e20f24b5bfd103e1471d6eceea6c1c13ea6e9ea (patch)
tree18956c99bde6bb9e39d3cc81a50ea84e941248f0 /src
parent10fa102e32ca91a4416ee5e4e2f2564da0456a54 (diff)
downloadnginx-4e20f24b5bfd103e1471d6eceea6c1c13ea6e9ea.tar.gz
nginx-4e20f24b5bfd103e1471d6eceea6c1c13ea6e9ea.zip
delete u->cleanup mark, this fixes large values in $upstream_response_time,
the bug had been introduced in r3007
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index fa434898f..776a3a1df 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -366,6 +366,7 @@ ngx_http_upstream_create(ngx_http_request_t *r)
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 @@ ngx_http_upstream_finalize_request(ngx_http_request_t *r,
if (u->cleanup) {
*u->cleanup = NULL;
+ u->cleanup = NULL;
}
if (u->resolved && u->resolved->ctx) {