# HG changeset patch # User Igor Sysoev # Date 1264783514 0 # Node ID a076e182373709878549bafaf5dc77d7a4e4818b # Parent 15017418fd843d2a77707dbbffd97b6e84815aa7 delete u->cleanup mark, this fixes large values in $upstream_response_time, the bug had been introduced in r3007 diff -r 15017418fd84 -r a076e1823737 src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c Thu Jan 28 14:17:51 2010 +0000 +++ b/src/http/ngx_http_upstream.c Fri Jan 29 16:45:14 2010 +0000 @@ -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) {