]> git.kaiwu.me - haproxy.git/commit
MINOR: tinfo: store the number of committed extra streams in the tgroup
authorWilly Tarreau <w@1wt.eu>
Sat, 9 May 2026 14:19:54 +0000 (16:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 May 2026 12:36:08 +0000 (14:36 +0200)
commit7f17512d18d8dd477edeb8daa246a4a2fddd66ea
tree49fbdbcd06476f834ab4d45002e436e12f996ed7
parent2a1599297b87331ad67a8fbf37310dde1b90bd30
MINOR: tinfo: store the number of committed extra streams in the tgroup

In order to be able to enforce global streams limitations, we'll first
have to be able to account how many streams we promised to serve via
frontend muxes. We'll always need to support at least one stream, which
is why here we're only counting extra streams beyond the first one. It
also has the benefit of leaving H1 out of this, and save it from updating
a variable. Also in order to avoid an important update cost, we're storing
this value per thread group. For now only H2 is implemented, but QUIC
should follow shortly and should only count bidirectional streams.
include/haproxy/tinfo-t.h
src/mux_h2.c