From: Igor Sysoev Date: Mon, 15 Oct 2007 09:46:36 +0000 (+0000) Subject: memcached did not set $upstream_response_time X-Git-Tag: release-0.6.14~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=2517eef67b91616c419b7b13eb4d0d9f4e8aa472;p=nginx.git memcached did not set $upstream_response_time --- diff --git a/src/http/modules/ngx_http_memcached_module.c b/src/http/modules/ngx_http_memcached_module.c index 73652d517..6a2cecd20 100644 --- a/src/http/modules/ngx_http_memcached_module.c +++ b/src/http/modules/ngx_http_memcached_module.c @@ -371,6 +371,7 @@ found: } u->headers_in.status_n = 200; + u->state->status = 200; u->buffer.pos = p + 1; return NGX_OK; @@ -381,6 +382,7 @@ found: "key: \"%V\" was not found by memcached", &ctx->key); u->headers_in.status_n = 404; + u->state->status = 404; return NGX_OK; }