]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: store session in QCS instance
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 22 Jul 2025 16:27:40 +0000 (18:27 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 23 Jul 2025 13:42:37 +0000 (15:42 +0200)
commit3bf37596bac7afe3e9f6deb43db6aa8667041930
treedf248ecb1ddcc03301ff56254febbbc735851c30
parent826f797bb06846aa6b8bf1a06ba3fb7e2828b9ff
MINOR: mux-quic: store session in QCS instance

Add a new <sess> member into QCS structure. It is used to store the
parent session of the stream on attach operation. This is only done for
backend side.

This new member will become necessary when connection reuse will be
implemented. <owner> member of connection is not suitable as it could be
set to NULL, notably after a session_add_conn() failure.

Also, a single BE conn can be shared along different session instance,
in particular when using aggressive/always reuse mode. Thus it is
necessary to linked each QCS instance with its session.
include/haproxy/mux_quic-t.h
src/mux_quic.c