From 7e9f70db57d083ff9379a0c47acf94997d2c648b Mon Sep 17 00:00:00 2001 From: dinglei Date: Wed, 17 Apr 2019 11:17:08 +0800 Subject: [PATCH] Update TcpRemotingClient.cpp --- src/transport/TcpRemotingClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transport/TcpRemotingClient.cpp b/src/transport/TcpRemotingClient.cpp index 815137969..825639124 100644 --- a/src/transport/TcpRemotingClient.cpp +++ b/src/transport/TcpRemotingClient.cpp @@ -149,10 +149,10 @@ bool TcpRemotingClient::invokeHeartBeat(const string& addr, RemotingCommand& req return true; } else { LOG_WARN("get error response:%d of heartbeat to addr:%s", pRsp->getCode(), addr.c_str()); - findAndDeleteResponseFuture(opaque); return false; } } else { + findAndDeleteResponseFuture(opaque); CloseTransport(addr, pTcp); } }