summaryrefslogtreecommitdiff
path: root/proxy_await.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 /proxy_await.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 'proxy_await.c')
-rw-r--r--proxy_await.c2
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;