mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-31 15:01:59 +01:00
MINOR: quic: Add a trace for packet with an ACK frame
As the ACK frames are not added to the packet list of ack-eliciting frames, it could not be traced. But there is a flag to identify such packet. Let's use it to add this information to the traces of TX packets. Must be backported to 2.6 and 2.7.
This commit is contained in:
parent
e47adca432
commit
6fd2576d5e
@ -658,6 +658,8 @@ static void quic_trace(enum trace_level level, uint64_t mask, const struct trace
|
||||
(unsigned long long)qc->path->in_flight);
|
||||
if (pkt) {
|
||||
const struct quic_frame *frm;
|
||||
if (pkt->flags & QUIC_FL_TX_PACKET_ACK)
|
||||
chunk_appendf(&trace_buf, " ack");
|
||||
chunk_appendf(&trace_buf, " pn=%lu(%s) iflen=%llu",
|
||||
(unsigned long)pkt->pn_node.key,
|
||||
pkt->pktns == &qc->pktns[QUIC_TLS_PKTNS_INITIAL] ? "I" :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user