[TD-5235]<fix>:try not to copy the content of rpc msg

This commit is contained in:
shenglian zhou 2021-07-29 15:28:24 +08:00
parent 7032e5a00b
commit babde623be
1 changed files with 0 additions and 2 deletions

View File

@ -521,8 +521,6 @@ void tscProcessMsgFromServer(SRpcMsg *rpcMsg, SRpcEpSet *pEpSet) {
SRpcMsg* rpcMsgCopy = calloc(1, sizeof(SRpcMsg));
memcpy(rpcMsgCopy, rpcMsg, sizeof(struct SRpcMsg));
rpcMsgCopy->pCont = rpcMallocCont(rpcMsg->contLen);
memcpy(rpcMsgCopy->pCont, rpcMsg->pCont, rpcMsg->contLen);
schedMsg.ahandle = (void*)rpcMsgCopy;
SRpcEpSet* pEpSetCopy = NULL;