MINOR: mux-h2: always use h2c_report_glitch()
authorWilly Tarreau <w@1wt.eu>
Mon, 11 Mar 2024 06:35:19 +0000 (07:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 Mar 2024 06:36:56 +0000 (07:36 +0100)
commite6e7e1587e1d6ddc880b8ccdff09db41588e671e
tree9ca88dcb79036447fe11b3858dac25cfbea4b092
parentdb1a7513b78822011aee2919c9483472907cf0b0
MINOR: mux-h2: always use h2c_report_glitch()

The function aims at centralizing counter measures but due to the fact
that it only increments the counter by one unit, sometimes it was not
used and the value was calculated directly. Let's pass the increment in
argument so that it can be used everywhere.
src/mux_h2.c