diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-10-15 09:46:36 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-10-15 09:46:36 +0000 |
commit | 2517eef67b91616c419b7b13eb4d0d9f4e8aa472 (patch) | |
tree | eea60c94ca3fa35fdf766c205cb238d24375c017 /src/http/modules/ngx_http_memcached_module.c | |
parent | 8de766328f02099e44b173a35e3c31a6519de2dc (diff) | |
download | nginx-2517eef67b91616c419b7b13eb4d0d9f4e8aa472.tar.gz nginx-2517eef67b91616c419b7b13eb4d0d9f4e8aa472.zip |
memcached did not set $upstream_response_time
Diffstat (limited to 'src/http/modules/ngx_http_memcached_module.c')
-rw-r--r-- | src/http/modules/ngx_http_memcached_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |