fix: limit session num

This commit is contained in:
yihaoDeng 2023-02-25 17:30:31 +08:00
parent db47cb5805
commit b0116445e3
1 changed files with 1 additions and 1 deletions

View File

@ -1520,7 +1520,7 @@ void cliHandleReq(SCliMsg* pMsg, SCliThrd* pThrd) {
transCtxMerge(&conn->ctx, &pMsg->ctx->appCtx);
transQueuePush(&conn->cliMsgs, pMsg);
conn->ip = strdup(addr);
conn->ip = taosStrdup(addr);
uint32_t ipaddr = cliGetIpFromFqdnCache(pThrd->fqdn2ipCache, fqdn);
if (ipaddr == 0xffffffff) {