]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Add the QUIC connection to mux traces
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 19 Aug 2022 10:02:29 +0000 (12:02 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 19 Aug 2022 10:02:29 +0000 (12:02 +0200)
This should help for debugging purpose.

Should be backported to 2.6

src/mux_quic.c

index a2814c7b5858ebed825853920b50caf1831f6b92..e29fa1ccd4eab0d345bd6b471b019a5b3f3067d2 100644 (file)
@@ -2367,6 +2367,8 @@ static void qmux_trace(enum trace_level level, uint64_t mask,
 
        if (src->verbosity > QMUX_VERB_CLEAN) {
                chunk_appendf(&trace_buf, " : qcc=%p(F)", qcc);
+               if (qcc->conn->handle.qc)
+                       chunk_appendf(&trace_buf, " qc=%p", qcc->conn->handle.qc);
 
                if (qcs)
                        chunk_appendf(&trace_buf, " qcs=%p .id=%llu .st=%s",