mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
MINOR: quic: Probe even if coalescing
Again, we fix a reminiscence of the way we probed before probing by packet. When we were probing by datagram we inspected <prv_pkt> to know if we were coalescing several packets. There is no need to do that at all when probing by packet. Furthermore this could lead to blocking situations where we want to probe but are limited by the congestion control (<cwnd> path variable). This must not be the case. When probing we must do it regardless of the congestion control.
This commit is contained in:
parent
e87524d41c
commit
94fca87f6a
@ -2553,8 +2553,7 @@ static int qc_prep_pkts(struct quic_conn *qc, struct qring *qr,
|
||||
probe = ack = 0;
|
||||
cc = HA_ATOMIC_LOAD(&qc->flags) & QUIC_FL_CONN_IMMEDIATE_CLOSE;
|
||||
if (!cc) {
|
||||
if (!prv_pkt)
|
||||
probe = qel->pktns->tx.pto_probe;
|
||||
probe = qel->pktns->tx.pto_probe;
|
||||
ack = HA_ATOMIC_BTR(&qel->pktns->flags, QUIC_FL_PKTNS_ACK_REQUIRED_BIT);
|
||||
}
|
||||
/* Do not build any more packet if the TX secrets are not available or
|
||||
|
Loading…
x
Reference in New Issue
Block a user