From 3a7570d21b847704b37a19202e5c921dfb5f947a Mon Sep 17 00:00:00 2001 From: Jeff Tao Date: Sun, 24 May 2020 06:12:32 +0000 Subject: [PATCH] for TCP client, dont set socket option --- src/util/src/tsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/src/tsocket.c b/src/util/src/tsocket.c index f2b89c8243..d92228a089 100644 --- a/src/util/src/tsocket.c +++ b/src/util/src/tsocket.c @@ -305,7 +305,7 @@ int taosOpenTcpClientSocket(uint32_t destIp, uint16_t destPort, uint32_t clientI sockFd = -1; } - taosKeepTcpAlive(sockFd); + // taosKeepTcpAlive(sockFd); return sockFd; } -- GitLab