r1568 merge:

memcached did not set $upstream_response_time
This commit is contained in:
Igor Sysoev 2007-12-12 16:58:44 +00:00
parent 6d347fa2c3
commit c86eef6299
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}