[TBASE-1241]

This commit is contained in:
slguan 2019-12-11 15:23:08 +08:00
parent 04b5df6273
commit 8314e22328
1 changed files with 1 additions and 3 deletions

View File

@ -1224,9 +1224,7 @@ int mgmtProcessConnectMsg(char *pMsg, int msgLen, SConnObj *pConn) {
uint32_t peerIp = taosGetRpcLocalIp(pConn->thandle); uint32_t peerIp = taosGetRpcLocalIp(pConn->thandle);
pConn->usePublicIp = (peerIp == tsPublicIpInt ? 1 : 0); pConn->usePublicIp = (peerIp == tsPublicIpInt ? 1 : 0);
mgmtEstablishConn(pConn); mgmtEstablishConn(pConn);
mPrint("pConn:%p is created, peerIp:%s publicIp:%s usePublicIp:%u",
pConn, taosIpStr(peerIp), taosIpStr(tsPublicIpInt), pConn->usePublicIp);
_rsp: _rsp:
pStart = taosBuildRspMsgWithSize(pConn->thandle, TSDB_MSG_TYPE_CONNECT_RSP, 128); pStart = taosBuildRspMsgWithSize(pConn->thandle, TSDB_MSG_TYPE_CONNECT_RSP, 128);
if (pStart == NULL) return 0; if (pStart == NULL) return 0;