mirror of
https://github.com/soypat/lneto.git
synced 2026-09-01 20:39:11 +00:00
chore: bump minimum Go version to 1.24 (#85)
Signed-off-by: Marvin Drees <marvin.drees@9elements.com>
This commit is contained in:
+2
-2
@@ -307,7 +307,7 @@ func TestPendingSegment_RetransmitAfter3DupACKs(t *testing.T) {
|
||||
tcb.HelperInitRcv(remoteISS, remoteISS+1, wnd)
|
||||
|
||||
// Three duplicate ACKs against UNA must trigger retransmit state
|
||||
for i := 0; i < 3; i++ {
|
||||
for i := range 3 {
|
||||
dup := Segment{
|
||||
SEQ: remoteISS + 1,
|
||||
ACK: iss, // UNA (duplicate, no progress)
|
||||
@@ -405,7 +405,7 @@ func TestACKLoop_MutualOutOfWindow(t *testing.T) {
|
||||
tcbA.pending[0] = FlagACK
|
||||
|
||||
const maxRounds = 50
|
||||
for round := 0; round < maxRounds; round++ {
|
||||
for range maxRounds {
|
||||
segA, okA := tcbA.PendingSegment(0)
|
||||
if okA {
|
||||
tcbA.Send(segA)
|
||||
|
||||
Reference in New Issue
Block a user