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.
(cherry picked from commit 3a56137048
)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
committed by
Christopher Faulet
parent
675ae502eb
commit
d4b45fcedb
@ -3075,6 +3075,7 @@ int qc_send_ppkts(struct qring *qr, struct ssl_sock_ctx *ctx)
|
|||||||
tmpbuf.area = (char *)pos;
|
tmpbuf.area = (char *)pos;
|
||||||
tmpbuf.size = tmpbuf.data = dglen;
|
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
|
/* 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
|
* of the loop but continue to purge the buffer. Data will be
|
||||||
* transmitted when QUIC packets are detected as lost on our
|
* transmitted when QUIC packets are detected as lost on our
|
||||||
|
Reference in New Issue
Block a user