enhance xnet StackAsync test and add non-linux stubs for Tap and Bridge

This commit is contained in:
soypat
2025-10-21 21:46:44 -03:00
parent 5c219ebbd5
commit 407f4a08f1
5 changed files with 177 additions and 26 deletions
+3
View File
@@ -202,6 +202,9 @@ func (tcb *ControlBlock) PendingSegment(payloadLen int) (_ Segment, ok bool) {
}
payloadLen = int(maxPayload)
}
if payloadLen > 0 {
pending |= FlagPSH // By default ensure all data flushed to destination application immediately on receive.
}
if established {
pending |= FlagACK // ACK is always set in established state. Not in RFC9293 but somehow expected?