]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: add trace event for frame sending
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 25 Mar 2022 08:09:40 +0000 (09:09 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 25 Mar 2022 13:51:14 +0000 (14:51 +0100)
commitfa29f33f2c022673771bf4ea451cd2cdf59d6eb8
tree966f3132ebd2c5df0fa9165e2de015e022765357
parent4f137577d7e4a0ad2d49965640379295277cd139
MINOR: mux-quic: add trace event for frame sending

Define a new qmux event QMUX_EV_SEND_FRM. This allows to pass a
quic_frame as an extra argument. Depending on the frame type, a special
format can be used to log the frame content.

Currently this event is only used in qc_send_max_streams. Thus the
handler is only able to handle MAX_STREAMS frames.
src/mux_quic.c