]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: delay cs_endpoint allocation
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 May 2022 14:53:56 +0000 (16:53 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 May 2022 13:41:25 +0000 (15:41 +0200)
commit1c25b18e17e87070d48531361bb7285f04d5f3e0
treeec17fdff6f9740e2a57ff42f44699fcfafaa3f6a
parent93fba32430ad9cb8fc95ffb696ee35adbbee0c86
MINOR: mux-quic: delay cs_endpoint allocation

Do not allocate cs_endpoint for every QCS instances in qcs_new().
Instead, this is delayed to qc_attach_cs() function.

In effect, with H3 as app protocol, cs_endpoint will be allocated on
HEADERS parsing. Thus, no cs_endpoint is allocated for H3 unidirectional
streams which do not convey any HTTP data.
include/haproxy/mux_quic.h
src/mux_quic.c