Mercurial > hg > nginx-quic
changeset 1716:a33e2a1a4e4c stable-0.5
r1568 merge:
memcached did not set $upstream_response_time
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 12 Dec 2007 16:58:44 +0000 |
parents | 7ecf7e78e1ab |
children | eec1a26a8ca1 |
files | src/http/modules/ngx_http_memcached_module.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }