set compressMsg range
This commit is contained in:
parent
71587df603
commit
8cc54650fc
|
@ -47,6 +47,10 @@ void* rpcOpen(const SRpcInit* pInit) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pRpc->compressSize = pInit->compressSize;
|
pRpc->compressSize = pInit->compressSize;
|
||||||
|
if (pRpc->compressSize < 0) {
|
||||||
|
pRpc->compressSize = -1;
|
||||||
|
}
|
||||||
|
|
||||||
pRpc->encryption = pInit->encryption;
|
pRpc->encryption = pInit->encryption;
|
||||||
pRpc->retryLimit = pInit->retryLimit;
|
pRpc->retryLimit = pInit->retryLimit;
|
||||||
pRpc->retryInterval = pInit->retryInterval;
|
pRpc->retryInterval = pInit->retryInterval;
|
||||||
|
|
Loading…
Reference in New Issue