merge with main and fix failing tests

This commit is contained in:
soypat
2026-09-06 13:13:44 -07:00
parent 53b606a1ff
commit 7e80dc5348
5 changed files with 598 additions and 121 deletions
+3
View File
@@ -376,6 +376,9 @@ func (h *Handler) Send(b []byte) (int, error) {
tfrm.SetOffsetAndFlags(offset, 0)
limit, rtxFrom, doRtx := h.policy.PreTx(h, tfrm)
txLimit = limit
if limit == 0 {
h.info("tcp.Policy:newTxLimit=0") // Can cause headaches for users.
}
if doRtx && h.scb.RetransmitFrom(rtxFrom) {
// Retransmission directed by the Policy: rewind the transmit buffer
// to match the send sequence so unacknowledged data is resent. Done