diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-12-12 16:58:44 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-12 16:58:44 +0000 |
| commit | 2bf343514358360df1bae483526b3855c3b2fcf9 (patch) | |
| tree | 35c885fc3648349a9be2be9bd75c1e658b50a274 /src | |
| parent | 8b8c017d058ca0fbf06c910341117df5394834a9 (diff) | |
| download | nginx-2bf343514358360df1bae483526b3855c3b2fcf9.tar.gz nginx-2bf343514358360df1bae483526b3855c3b2fcf9.tar.bz2 | |
r1568 merge:
memcached did not set $upstream_response_time
Diffstat (limited to 'src')
| -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 9ec534c84..55f91595c 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; } |
