MINOR: quic: Add the QUIC connection state to traces
This connection variable was missing. It is useful to debug issues.
diff --git a/src/xprt_quic.c b/src/xprt_quic.c
index a8e26cd..f520a9b 100644
--- a/src/xprt_quic.c
+++ b/src/xprt_quic.c
@@ -384,8 +384,9 @@
pktns = qc->pktns;
chunk_appendf(&trace_buf,
- " qel=%c ack?%d cwnd=%llu ppif=%lld pif=%llu if=%llu pp=%u pdg=%llu",
+ " qel=%c state=%s ack?%d cwnd=%llu ppif=%lld pif=%llu if=%llu pp=%u pdg=%llu",
quic_enc_level_char_from_qel(qel, qc),
+ quic_hdshk_state_str(HA_ATOMIC_LOAD(&qc->state)),
!!(pktns->flags & QUIC_FL_PKTNS_ACK_REQUIRED),
(unsigned long long)qc->path->cwnd,
(unsigned long long)qc->path->prep_in_flight,