Skip to content

Commit a8738f4

Browse files
committed
MINOR: quic: complete trace in qc_may_build_pkt()
Log the encryption level in qc_may_build_pkt(). This is necessary to fully understand the sending conditions of the QUIC stack.
1 parent 0b76054 commit a8738f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/quic_tx.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ static int qc_may_build_pkt(struct quic_conn *qc, struct list *frms,
199199
(force_ack || nb_aepkts_since_last_ack >= QUIC_MAX_RX_AEPKTS_SINCE_LAST_ACK));
200200

201201
TRACE_PRINTF(TRACE_LEVEL_DEVELOPER, QUIC_EV_CONN_PHPKTS, qc, 0, 0, 0,
202-
"has_sec=%d cc=%d probe=%d must_ack=%d frms=%d prep_in_fligh=%llu cwnd=%llu",
202+
"%c has_sec=%d cc=%d probe=%d must_ack=%d frms=%d prep_in_fligh=%llu cwnd=%llu",
203+
quic_enc_level_char_from_qel(qel, qc),
203204
quic_tls_has_tx_sec(qel), cc, probe, *must_ack, LIST_ISEMPTY(frms),
204205
(ullong)qc->path->prep_in_flight, (ullong)qc->path->cwnd);
205206

0 commit comments

Comments
 (0)