]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: h2: do not update committed streams if elasticity disabled
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 20 May 2026 07:01:04 +0000 (09:01 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 20 May 2026 07:52:50 +0000 (09:52 +0200)
commit33c8270903aefb6925111f4eb5e3d537a0e11439
tree598edb232c8a8e0f9c9d27e7ddfb6e6a9cd803b4
parentad3562fea189c6473de3568b2bcd03587c4b5813
OPTIM: h2: do not update committed streams if elasticity disabled

When streams-elasticity is enabled in the configuration, H2 mux is
responsible to update the global committed_extra_streams value.

Adjust these operations to ensure they are skipped if streams-elasticity
is disabled, which is the current default. This prevents unnecessary
atomic operations in this case.

No need to backport unless streams-elasticity feature is picked in older
releases.
src/mux_h2.c