keep working on xnet TCP

This commit is contained in:
Patricio Whittingslow
2025-10-23 21:18:25 -03:00
parent 7ac4d556c2
commit 92a245957b
5 changed files with 203 additions and 61 deletions
+4
View File
@@ -792,6 +792,10 @@ func TestIssue19(t *testing.T) {
t.Fatal(err)
}
assertState(tcp.StateFinWait1)
pending, ok = tcb.PendingSegment(0)
if ok {
t.Fatal("expected no pending segment after finack")
}
// Receive FINACK response from client.
err = tcb.Recv(tcp.Segment{SEQ: issB, ACK: issA + httpLen, Flags: FINACK, WND: windowB})