MINOR: quic: dump quic_conn debug string for logs
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 1 Aug 2024 09:35:04 +0000 (11:35 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 9 Jan 2025 09:28:04 +0000 (10:28 +0100)
commit3c1818e962e3e7a99fcd2863c727cc009b61f38b
treeb703199dd9b6d1681ec785a96efcc03e31559e68
parent841996138223e63aae1deae2e10c0f563271132b
MINOR: quic: dump quic_conn debug string for logs

Define a new xprt_ops callback named dump_info. This can be used to
extend MUX debug string with infos from the lower layer.

Implement dump_info for QUIC stack. For now, only minimal info are
reported : bytes in flight and size of the sending window. This should
allow to detect if the congestion controller is fine. These info are
reported via QUIC MUX debug string sample.

(cherry picked from commit 663416b4ef2fafcffa61c04aa09056853d9674f7)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/connection-t.h
include/haproxy/quic_trace.h
src/mux_quic.c
src/quic_trace.c
src/xprt_quic.c