mirror of
https://github.com/nginx/nginx.git
synced 2025-08-01 19:36:13 +08:00
r1568 merge:
memcached did not set $upstream_response_time
This commit is contained in:
parent
8b8c017d05
commit
2bf3435143
@ -371,6 +371,7 @@ found:
|
|||||||
}
|
}
|
||||||
|
|
||||||
u->headers_in.status_n = 200;
|
u->headers_in.status_n = 200;
|
||||||
|
u->state->status = 200;
|
||||||
u->buffer.pos = p + 1;
|
u->buffer.pos = p + 1;
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
@ -381,6 +382,7 @@ found:
|
|||||||
"key: \"%V\" was not found by memcached", &ctx->key);
|
"key: \"%V\" was not found by memcached", &ctx->key);
|
||||||
|
|
||||||
u->headers_in.status_n = 404;
|
u->headers_in.status_n = 404;
|
||||||
|
u->state->status = 404;
|
||||||
|
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user