mKCP transport: Make sure ACKs are limited within MTU (#5773)

https://github.com/XTLS/Xray-core/pull/5657#issuecomment-3984236113
This commit is contained in:
LjhAUMEM
2026-03-07 23:21:25 +08:00
committed by GitHub
parent 88a2589498
commit ea87941b77
3 changed files with 22 additions and 8 deletions
+1
View File
@@ -71,6 +71,7 @@ func TestACKSegment(t *testing.T) {
ReceivingNext: 3,
Timestamp: 10,
NumberList: []uint32{1, 3, 5, 7, 9},
Limit: 128,
}
nBytes := seg.ByteSize()