From 08d8644d1a49d48484317b3c401df7673a872697 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 21 Feb 2015 10:42:55 +1100 Subject: [PATCH] Still drop clients from dead proxies even if we don't have their data any more --- src/stratifier.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index b1bfd37f..165dfd9c 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2156,9 +2156,8 @@ static void dead_proxy(sdata_t *sdata, const char *buf) sscanf(buf, "deadproxy=%d:%d", &id, &subid); proxy = existing_subproxy(sdata, id, subid); - if (!proxy) - return; - proxy->dead = true; + if (proxy) + proxy->dead = true; LOGNOTICE("Stratifier dropping clients from proxy %d:%d", id, subid); ck_rlock(&sdata->instance_lock);