]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: add sample fetches to report per-connection glitches
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Jan 2024 17:00:21 +0000 (18:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Jan 2024 16:21:44 +0000 (17:21 +0100)
commit6e5aa1614557a2db4c11c7b640350bdaf8ffad65
tree03e9ddecb6150fe8b7c0d850328729985b91df4d
parentd2b44fd73007079037ff833522d00f80fe0fddba
MINOR: connection: add sample fetches to report per-connection glitches

Now with fc_glitches and bc_glitches we can retrieve the number of
detected glitches on a front or back connection. On the backend it
can indicate a bug in a server that may induce frequent reconnections
hence CPU usage in TLS reconnections, and on the frontend it may
indicate an abusive client that may be trying to attack the stack
or to fingerprint it. Small non-zero values are definitely expected
and can be caused by network glitches for example, as well as rare
bugs in the other component (or maybe even in haproxy). These should
never be considered as alarming as long as they remain low (i.e.
much less than one per request). A reg-test is provided.
doc/configuration.txt
reg-tests/connection/h2_glitches.vtc [new file with mode: 0644]
src/connection.c