projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e8ef1b
)
MINOR: quic: Add a trace to identify connections which sent Initial packet.
author
Frédéric Lécaille
<flecaille@haproxy.com>
Mon, 13 Feb 2023 16:45:36 +0000
(17:45 +0100)
committer
Amaury Denoyelle
<adenoyelle@haproxy.com>
Fri, 17 Feb 2023 16:36:30 +0000
(17:36 +0100)
This should help in diagnosing issues revealed by the interop runner which counts
the number of handshakes from the number of Initial packets sent by the server.
Must be backported to 2.7.
src/quic_conn.c
patch
|
blob
|
history
diff --git
a/src/quic_conn.c
b/src/quic_conn.c
index
cbead12
..
36afa58
100644
(file)
--- a/
src/quic_conn.c
+++ b/
src/quic_conn.c
@@
-632,6
+632,11
@@
static void quic_trace(enum trace_level level, uint64_t mask, const struct trace
chunk_appendf(&trace_buf, " frm@%p", frm);
chunk_frm_appendf(&trace_buf, frm);
}
+
+ if (pkt->type == QUIC_PACKET_TYPE_INITIAL) {
+ chunk_appendf(&trace_buf, " with scid");
+ quic_cid_dump(&trace_buf, &qc->scid);
+ }
}
}