From 03235d78ae9783b72fb1e961bc44e2597a6d9dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Wed, 30 Mar 2022 14:36:40 +0200 Subject: [PATCH] MINOR: quic: Do not display any timer value from process_timer() This is confusing to display the connection timer from this function as it is not supposed to update it. Only qc_set_timer() should do that. --- src/xprt_quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 7ba47a6f4..dd9c3543a 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -529,7 +529,7 @@ static void quic_trace(enum trace_level level, uint64_t mask, const struct trace } } - if (!(mask & QUIC_EV_CONN_SPTO) && qc->timer_task) { + if (!(mask & (QUIC_EV_CONN_SPTO|QUIC_EV_CONN_PTIMER)) && qc->timer_task) { chunk_appendf(&trace_buf, " expire=%dms", TICKS_TO_MS(qc->timer - now_ms)); }