From b94b46a5ee52f90a11375ec7357320ff3c80024a Mon Sep 17 00:00:00 2001 From: John Sully Date: Wed, 26 May 2021 01:18:47 +0000 Subject: [PATCH] Eliminate test issue while clients wait for async free Former-commit-id: a41fb1b036dd4a933093f1df6dffe16f820153e4 --- src/networking.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/networking.cpp b/src/networking.cpp index 6c83ce3d5..bc76ce662 100644 --- a/src/networking.cpp +++ b/src/networking.cpp @@ -2740,6 +2740,7 @@ sds getAllClientsInfoString(int type) { while ((ln = listNext(&li)) != NULL) { client = reinterpret_cast(listNodeValue(ln)); std::unique_locklock)> lock(client->lock); + if (client->flags & CLIENT_CLOSE_ASAP) continue; if (type != -1 && getClientType(client) != type) continue; o = catClientInfoString(o,client); o = sdscatlen(o,"\n",1);