rpcMain/fix: fix version checking with rpcSendReqHead

This commit is contained in:
stephenkgu 2020-12-28 02:45:11 +08:00
parent 0f8a4219a9
commit 4e8a37ed98
1 changed files with 1 additions and 0 deletions

View File

@ -1216,6 +1216,7 @@ static void rpcSendReqHead(SRpcConn *pConn) {
pHead = (SRpcHead *)msg;
pHead->version = 1;
pHead->msgType = pConn->outType;
pHead->msgVer = htonl(tsVersion >> 8);
pHead->spi = pConn->spi;
pHead->encrypt = 0;
pHead->tranId = pConn->outTranId;