mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
MINOR: quic: Do not retransmit too much packets.
We retranmist at most one datagram and possibly one more with only PING frame as ack-eliciting frame.
This commit is contained in:
parent
0c80e69470
commit
53c7d8db56
@ -3518,13 +3518,10 @@ static struct task *process_timer(struct task *task, void *ctx, unsigned int sta
|
||||
}
|
||||
|
||||
for (i = QUIC_TLS_ENC_LEVEL_INITIAL; i < QUIC_TLS_ENC_LEVEL_MAX; i++) {
|
||||
int j;
|
||||
|
||||
if (i == QUIC_TLS_ENC_LEVEL_APP && !quic_peer_validated_addr(qc))
|
||||
continue;
|
||||
|
||||
for (j = 0; j < qc->els[i].pktns->tx.pto_probe; j++)
|
||||
qc_prep_fast_retrans(&qc->els[i], qc);
|
||||
qc_prep_fast_retrans(&qc->els[i], qc);
|
||||
}
|
||||
|
||||
tasklet_wakeup(conn_ctx->wait_event.tasklet);
|
||||
|
Loading…
x
Reference in New Issue
Block a user