]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: support glitches
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 13 May 2024 07:05:27 +0000 (09:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 16 May 2024 08:58:20 +0000 (10:58 +0200)
commit216f70f9894c5915255bbecc8e68be91b157e3af
tree48416e5b18350227832f66cf04860102586b6ac1
parenta6993a669bce3a74b79bb14e0d85199256dc808e
MINOR: mux-quic: support glitches

Implement basic support for glitches on QUIC multiplexer. This is mostly
identical too glitches for HTTP/2.

A new configuration option named tune.quic.frontend.glitches-threshold
is defined to limit the number of glitches on a connection before
closing it.

Glitches counter is incremented via qcc_report_glitch(). A new
qcc_app_ops callback <report_susp> is defined. On threshold reaching, it
allows to set an application error code to close the connection. For
HTTP/3, value H3_EXCESSIVE_LOAD is returned. If not defined, default
code INTERNAL_ERROR is used.

For the moment, no glitch are reported for QUIC or HTTP/3 usage. This
will be added in future patches as needed.
doc/configuration.txt
include/haproxy/global-t.h
include/haproxy/mux_quic-t.h
include/haproxy/mux_quic.h
src/cfgparse-quic.c
src/h3.c
src/mux_quic.c