forked from I2P_Developers/i2p.i2p
* sliding windows w/ additive increase / multiplicitive decrease
* immediately send an ack on receiving a duplicate payload message (unless we've sent one within the last RTT) * only adjust the RTT when there have been no resends * added some (disabled) throttles - randomly injecting delays on received packets, as well as randomly dropping them * logging
This commit is contained in:
@@ -52,7 +52,7 @@ class PacketQueue {
|
||||
packet.setTagsSent(tagsSent);
|
||||
packet.incrementSends();
|
||||
if (_log.shouldLog(Log.DEBUG)) {
|
||||
String msg = packet + " sent" + (tagsSent.size() > 0
|
||||
String msg = "SEND " + packet + (tagsSent.size() > 0
|
||||
? " with " + tagsSent.size() + " tags"
|
||||
: "")
|
||||
+ " send # " + packet.getNumSends();
|
||||
|
||||
Reference in New Issue
Block a user