MINOR: h3: Add the quic_conn object to h3 traces

This is very useful to associate h3 traces to a QUIC connection when debugging.

Must be backported to 2.6.
This commit is contained in:
Frédéric Lécaille 2022-09-08 16:03:13 +02:00
parent 1c725aa9cd
commit 2eb5faa2ad

View File

@ -1253,6 +1253,8 @@ static void h3_trace(enum trace_level level, uint64_t mask,
if (src->verbosity > H3_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(%llu)", qcs, (ull)qcs->id);