]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Add idle timer task pointer to traces
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 6 Nov 2023 13:10:06 +0000 (14:10 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 9 Nov 2023 09:32:31 +0000 (10:32 +0100)
Helpful to detect if this timer was freed or not.

src/quic_trace.c

index 257fe730ce040fafc95e6f696e2d09434cef19f6..6cc3b57a1eef5b6fb69306728bbf73c204f82f46 100644 (file)
@@ -111,7 +111,8 @@ static void quic_trace(enum trace_level level, uint64_t mask, const struct trace
        if (qc) {
                const struct quic_tls_ctx *tls_ctx;
 
-               chunk_appendf(&trace_buf, " : qc@%p flags=0x%x", qc, qc->flags);
+               chunk_appendf(&trace_buf, " : qc@%p idle_timer_task@%p flags=0x%x",
+                             qc, qc->idle_timer_task, qc->flags);
                if (mask & QUIC_EV_CONN_INIT) {
                        chunk_appendf(&trace_buf, "\n  odcid");
                        quic_cid_dump(&trace_buf, &qc->odcid);