From 6380afb63da4ee330b7721e18475195b90a1f70d Mon Sep 17 00:00:00 2001 From: Jeff Tao Date: Sun, 14 Jun 2020 01:28:26 +0000 Subject: [PATCH] set handle when report broken link to server --- src/rpc/src/rpcMain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index e4ba388394..dcbcae452d 100644 --- a/src/rpc/src/rpcMain.c +++ b/src/rpc/src/rpcMain.c @@ -888,6 +888,7 @@ static void rpcReportBrokenLinkToServer(SRpcConn *pConn) { SRpcMsg rpcMsg; rpcMsg.pCont = pConn->pReqMsg; // pReqMsg is re-used to store the APP context from server rpcMsg.contLen = pConn->reqMsgLen; // reqMsgLen is re-used to store the APP context length + rpcMsg.ahandle = pConn->ahandle; rpcMsg.handle = pConn; rpcMsg.msgType = pConn->inType; rpcMsg.code = TSDB_CODE_RPC_NETWORK_UNAVAIL; -- GitLab