MINOR: mux-h2: count late reduction of INITIAL_WINDOW_SIZE as a glitch
authorWilly Tarreau <w@1wt.eu>
Thu, 8 Feb 2024 13:37:56 +0000 (14:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Feb 2024 14:51:49 +0000 (15:51 +0100)
commit9f3a0834d8e4c1416c0e266e987d9c0378558659
tree94b6b82f1e0c1b393e65c08d4eda1c644c3c96aa
parent28dfd006ca7289889f6238c1befca2f0d622a879
MINOR: mux-h2: count late reduction of INITIAL_WINDOW_SIZE as a glitch

It's quite uncommon for a client to decide to change the connection's
initial window size after the settings exchange phase, unless it tries
to increase it. One of the impacts depending is that it updates all
streams, so it can be expensive, depending on the stacks, and may even
be used to construct an attack. For this reason, we now count a glitch
when this happens.

A test with h2spec shows that it triggers 9 across a full test.
src/mux_h2.c