summaryrefslogtreecommitdiff
path: root/proto_proxy.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-09-01 13:57:59 -0700
committerdormando <dormando@rydia.net>2022-09-02 23:07:58 -0700
commitd855e7ed9394d3c8ed110f22694930a22894de10 (patch)
treeac18cb783d67b88eadd3aa11246ca2cfc123d473 /proto_proxy.c
parent597645db6a2b138710f01ffe5e92e453117b987a (diff)
downloadmemcached-d855e7ed9394d3c8ed110f22694930a22894de10.tar.gz
proxy: update mcmc and calling conventions
upstream fixes: mcmc would return OK to garbage responses, which was probably causing issues in the past. This does remove the MCMC_CODE_MISS and replace it with MCMC_CODE_END.
Diffstat (limited to 'proto_proxy.c')
-rw-r--r--proto_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_proxy.c b/proto_proxy.c
index 3ee8c07..985781b 100644
--- a/proto_proxy.c
+++ b/proto_proxy.c
@@ -494,7 +494,7 @@ static void _set_noreply_mode(mc_resp *resp, mcp_resp_t *r) {
}
break;
case RESP_MODE_METAQUIET:
- if (r->resp.code == MCMC_CODE_MISS) {
+ if (r->resp.code == MCMC_CODE_END) {
resp->skip = true;
} else if (r->cmd != CMD_MG && r->resp.code == MCMC_CODE_OK) {
// FIXME (v2): mcmc's parser needs to help us out a bit more