auto-sync
This commit is contained in:
parent
52d6c9d07b
commit
6c5616afbb
|
@ -266,7 +266,7 @@ public class BinaryProtocol {
|
||||||
logger.trace("Got packet size " + packetSize);
|
logger.trace("Got packet size " + packetSize);
|
||||||
if (packetSize < 0)
|
if (packetSize < 0)
|
||||||
return null;
|
return null;
|
||||||
if (!allowLongResponse && packetSize > BLOCKING_FACTOR + 10)
|
if (!allowLongResponse && packetSize > Math.max(BLOCKING_FACTOR, OUTPUT_CHANNELS_SIZE) + 10)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
isTimeout = incomingData.waitForBytes(packetSize + 4, start, msg + " body");
|
isTimeout = incomingData.waitForBytes(packetSize + 4, start, msg + " body");
|
||||||
|
|
Loading…
Reference in New Issue