From fa34b6d4b17e2f20b49398267a77fc25f2612130 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Sun, 20 Mar 2022 20:52:32 +0800 Subject: [PATCH] handle except --- source/libs/transport/src/transCli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index 4a24dff863..08d89d8831 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -265,7 +265,7 @@ _RETURN: void cliHandleExcept(SCliConn* pConn) { if (taosArrayGetSize(pConn->cliMsgs) == 0) { - if (pConn->broken == true && CONN_NO_PERSIST_BY_APP(pConn)) { + if (pConn->broken == true || CONN_NO_PERSIST_BY_APP(pConn)) { transUnrefCliHandle(pConn); return; } -- GitLab