diff options
author | dormando <dormando@rydia.net> | 2022-09-01 13:57:59 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-09-02 23:07:58 -0700 |
commit | d855e7ed9394d3c8ed110f22694930a22894de10 (patch) | |
tree | ac18cb783d67b88eadd3aa11246ca2cfc123d473 /proxy_await.c | |
parent | 597645db6a2b138710f01ffe5e92e453117b987a (diff) | |
download | memcached-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 'proxy_await.c')
-rw-r--r-- | proxy_await.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy_await.c b/proxy_await.c index 387df08..d60f380 100644 --- a/proxy_await.c +++ b/proxy_await.c @@ -266,7 +266,7 @@ int mcplib_await_return(io_pending_proxy_t *p) { bool is_good = false; switch (aw->type) { case AWAIT_GOOD: - if (p->client_resp->status == MCMC_OK && p->client_resp->resp.code != MCMC_CODE_MISS) { + if (p->client_resp->status == MCMC_OK && p->client_resp->resp.code != MCMC_CODE_END) { is_good = true; } break; |