]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: Add a statistics module for h3
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 25 May 2022 20:25:37 +0000 (22:25 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 May 2022 07:59:26 +0000 (09:59 +0200)
commit6f7607ef1fb314fc919bf2d40689a3edcfc8db1c
tree6b00efd17b63fd72cda03de5871d55bbbe62ed86
parent38dea05ca91238b982d68fcc464bf8165f743e16
MINOR: h3: Add a statistics module for h3

Add ->inc_err_cnt new callback to qcc_app_ops struct which can
be called from xprt to increment the application level error code counters.
It take the application context as first parameter to be generic and support
new QUIC applications to come.
Add h3_stats.c module with counters for all the frame types and error codes.
Makefile
include/haproxy/h3_stats-t.h [new file with mode: 0644]
include/haproxy/h3_stats.h [new file with mode: 0644]
include/haproxy/mux_quic-t.h
src/h3.c
src/h3_stats.c [new file with mode: 0644]
src/xprt_quic.c