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.
This commit is contained in:
Frédéric Lécaille 2022-03-30 14:36:40 +02:00 committed by Amaury Denoyelle
parent 05bd92bbc5
commit 03235d78ae

View File

@ -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, chunk_appendf(&trace_buf,
" expire=%dms", TICKS_TO_MS(qc->timer - now_ms)); " expire=%dms", TICKS_TO_MS(qc->timer - now_ms));
} }