提交 4e8a37ed 编写于 作者: S stephenkgu

rpcMain/fix: fix version checking with rpcSendReqHead

上级 0f8a4219
...@@ -1216,6 +1216,7 @@ static void rpcSendReqHead(SRpcConn *pConn) { ...@@ -1216,6 +1216,7 @@ static void rpcSendReqHead(SRpcConn *pConn) {
pHead = (SRpcHead *)msg; pHead = (SRpcHead *)msg;
pHead->version = 1; pHead->version = 1;
pHead->msgType = pConn->outType; pHead->msgType = pConn->outType;
pHead->msgVer = htonl(tsVersion >> 8);
pHead->spi = pConn->spi; pHead->spi = pConn->spi;
pHead->encrypt = 0; pHead->encrypt = 0;
pHead->tranId = pConn->outTranId; pHead->tranId = pConn->outTranId;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册