mirror of
https://github.com/soypat/lneto.git
synced 2026-09-10 08:39:30 +00:00
enhance xnet StackAsync test and add non-linux stubs for Tap and Bridge
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user