]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: mux-quic: delay FE sedesc alloc to stream creation
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 20 Nov 2025 17:15:21 +0000 (18:15 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 21 Nov 2025 09:34:08 +0000 (10:34 +0100)
commite6064c561684d9b079e3b5725d38dc3b5c1b5cd5
tree5b5d57734093990412a77778bbc2755735f491aa
parent4fb89086059d50bde409feb2920ae848da74a8a2
OPTIM: mux-quic: delay FE sedesc alloc to stream creation

On frontend side, a stream-endpoint is allocated on every qcs_new()
invokation. However, this is only used for bidirectional request
streams.

This patch delays stream-endpoint allocation to qcs_attach_sc(), just
prior the instantiation of the upper stream object. This does not bring
any behavior change but is a nice optimization.
src/mux_quic.c