Streaming: Fix bug causing hangs on loopback and preventing desired ack behavior (ticket #1939)

This commit is contained in:
zzz
2017-11-22 00:10:52 +00:00
parent b2dcf2069f
commit ad056bcef5
3 changed files with 6 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ class ConnectionPacketHandler {
boolean isNew;
if (seqNum > 0 || isSYN) {
isNew = con.getInputStream().messageReceived(seqNum, packet.getPayload()) &&
!allowAck;
allowAck;
} else {
isNew = false;
}