mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
MINOR: quic: Add traces to qc_may_build_pkt()
This patch is very useful to debug issues in relation with the packets building.
This commit is contained in:
parent
2b8510d722
commit
dfb9fad183
@ -3441,6 +3441,11 @@ static int qc_may_build_pkt(struct quic_conn *qc, struct list *frms,
|
|||||||
((qel->pktns->flags & QUIC_FL_PKTNS_ACK_REQUIRED) &&
|
((qel->pktns->flags & QUIC_FL_PKTNS_ACK_REQUIRED) &&
|
||||||
(force_ack || nb_aepkts_since_last_ack >= QUIC_MAX_RX_AEPKTS_SINCE_LAST_ACK));
|
(force_ack || nb_aepkts_since_last_ack >= QUIC_MAX_RX_AEPKTS_SINCE_LAST_ACK));
|
||||||
|
|
||||||
|
TRACE_PRINTF(TRACE_LEVEL_DEVELOPER, QUIC_EV_CONN_PHPKTS, qc, 0, 0, 0,
|
||||||
|
"has_sec=%d cc=%d probe=%d must_ack=%d frms=%d prep_in_fligh=%llu cwnd=%llu",
|
||||||
|
quic_tls_has_tx_sec(qel), cc, probe, *must_ack, LIST_ISEMPTY(frms),
|
||||||
|
(ullong)qc->path->prep_in_flight, (ullong)qc->path->cwnd);
|
||||||
|
|
||||||
/* Do not build any more packet if the TX secrets are not available or
|
/* Do not build any more packet if the TX secrets are not available or
|
||||||
* if there is nothing to send, i.e. if no CONNECTION_CLOSE or ACK are required
|
* if there is nothing to send, i.e. if no CONNECTION_CLOSE or ACK are required
|
||||||
* and if there is no more packets to send upon PTO expiration
|
* and if there is no more packets to send upon PTO expiration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user