未验证 提交 416564a3 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #2795 from taosdata/feature/syncFC

set socket option
......@@ -304,9 +304,9 @@ int taosOpenTcpClientSocket(uint32_t destIp, uint16_t destPort, uint32_t clientI
//uError("failed to connect socket, ip:0x%x, port:%hu(%s)", destIp, destPort, strerror(errno));
close(sockFd);
sockFd = -1;
}
} else {
taosKeepTcpAlive(sockFd);
}
return sockFd;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册