SSU2: Enable handling of ack-immediate flag by default

test code that was off by default was previously checked in
This commit is contained in:
zzz
2022-09-09 11:49:30 -04:00
parent 2144486917
commit 88a66928c1
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
2022-09-09 zzz
* SSU2: Enable handling of ack-immediate flag by default
2022-09-07 zzz
* SSU: Fallback processing for MTU detection
* Transports: Don't rekey noise params on testnet
2022-09-06 zzz
* NetDB: Fix reseeding when clock is skewed
* SSU2: Don't publish or connect if our MTU becomes too small

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Git";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 7;
public final static long BUILD = 8;
/** for example "-test" */
public final static String EXTRA = "";

View File

@@ -493,7 +493,7 @@ public class PeerState2 extends PeerState implements SSU2Payload.PayloadCallback
ECNReceived();
} //// !_dead
boolean ackImmediate = (header.data[SHORT_HEADER_FLAGS_OFFSET] & 0x01) != 0 && _context.getBooleanProperty("ssu2.ackImmediate");
boolean ackImmediate = (header.data[SHORT_HEADER_FLAGS_OFFSET] & 0x01) != 0;
if (ackImmediate) {
_ackTimer.scheduleImmediate();
}