From 3a561370486c74d4ced6b7d20720353e8bd1054c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Mon, 29 Aug 2022 18:05:44 +0200 Subject: [PATCH] MINOR: quic: Add a trace to distinguish the datagram from the packets inside Without such a trace, we do not know when a datagram is sent. Only trace for the packets inside the datagrams were displayed. Must be backported to 2.6. --- src/xprt_quic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 0172c4430..bd2153e23 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -3203,6 +3203,7 @@ int qc_send_ppkts(struct buffer *buf, struct ssl_sock_ctx *ctx) tmpbuf.area = (char *)pos; tmpbuf.size = tmpbuf.data = dglen; + TRACE_DATA("send dgram", QUIC_EV_CONN_SPPKTS, qc); /* If sendto is on error just skip the call to it for the rest * of the loop but continue to purge the buffer. Data will be * transmitted when QUIC packets are detected as lost on our