mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
BUG/MAJOR: xprt-quic: do not queue qc timer if not set
Do not queue the pto/loss-detection timer if set to TICK_ETERNITY. This usage is invalid with the scheduler and cause a BUG_ON trigger.
This commit is contained in:
parent
139814a67a
commit
336f6fd964
@ -647,6 +647,7 @@ static inline void qc_set_timer(struct ssl_sock_ctx *ctx)
|
||||
if (tick_isset(pto))
|
||||
qc->timer = pto;
|
||||
out:
|
||||
if (qc->timer != TICK_ETERNITY)
|
||||
task_schedule(qc->timer_task, qc->timer);
|
||||
TRACE_LEAVE(QUIC_EV_CONN_STIMER, ctx->conn, pktns);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user