This commit is contained in:
zzz
2011-10-25 21:31:03 +00:00
parent 1cd0177f87
commit 1a6e9257f3

View File

@@ -602,12 +602,12 @@ class PeerState {
//if (isForACK) //if (isForACK)
// _receiveACKBytes += bytes; // _receiveACKBytes += bytes;
} else { } else {
if (true || _retransmissionPeriodStart + 1000 < _context.clock().now()) { //if (true || _retransmissionPeriodStart + 1000 < _context.clock().now()) {
_packetsReceivedDuplicate++; _packetsReceivedDuplicate++;
} else { //} else {
_retransmissionPeriodStart = _context.clock().now(); // _retransmissionPeriodStart = _context.clock().now();
_packetsReceivedDuplicate = 1; // _packetsReceivedDuplicate = 1;
} //}
} }
long now = _context.clock().now(); long now = _context.clock().now();