Skip to content

Commit 21c6bf9

Browse files
committed
DONOTMERGE: add traces in qc_snd_buf()
1 parent c44d64a commit 21c6bf9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/quic_sock.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,9 @@ int qc_snd_buf(struct quic_conn *qc, const struct buffer *buf, size_t sz,
738738
struct cmsghdr align;
739739
} ancillary_data;
740740

741+
TRACE_PRINTF(TRACE_LEVEL_USER, QUIC_EV_CONN_SPPKTS, qc, 0, 0, 0,
742+
"sz=%zu flags=0x%0x gso_size=%u buf->size=%zu",
743+
sz, flags, gso_size, buf->size);
741744
/* man 3 cmsg
742745
*
743746
* When initializing a buffer that will contain a

0 commit comments

Comments
 (0)