From: Frédéric Lécaille Date: Mon, 17 Jan 2022 09:51:43 +0000 (+0100) Subject: MINOR: quic: Add the number of TX bytes to traces X-Git-Tag: v2.6-dev1~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b6ea1710529ca07c34790977c3a76f760146e51;p=thirdparty%2Fhaproxy.git MINOR: quic: Add the number of TX bytes to traces This should be helpful to diagnose some issues regarding packet loss and recovery issues. --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index f9d61e29df..61ba70dc0e 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -305,7 +305,9 @@ static void quic_trace(enum trace_level level, uint64_t mask, const struct trace chunk_appendf(&trace_buf, " pn=%llu",(ull)pkt->pn_node.key); list_for_each_entry(frm, &pkt->frms, list) chunk_frm_appendf(&trace_buf, frm); - chunk_appendf(&trace_buf, " tx.bytes=%llu", (unsigned long long)qc->tx.bytes); + chunk_appendf(&trace_buf, " rx.bytes=%llu tx.bytes=%llu", + (unsigned long long)qc->rx.bytes, + (unsigned long long)qc->tx.bytes); } if (room) {