]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: split global CID tree between FE and BE sides
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 21 Nov 2025 16:21:26 +0000 (17:21 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 25 Nov 2025 13:30:18 +0000 (14:30 +0100)
commita5801e542da04f5c8dcca9214f31dfb940775b29
treefd8778525899e114d208ff8ed17c8c6ed9e869a8
parent4b596c1ea897edb6984b66997bd3d2d982c09488
MINOR: quic: split global CID tree between FE and BE sides

QUIC CIDs are stored in a global tree. Prior to this patch, CIDs used on
both frontend and backend sides were mixed together.

This patch implement CID storage separation between FE and BE sides. The
original tre quic_cid_trees is splitted as
quic_fe_cid_trees/quic_be_cid_trees.

This patch should reduce contention between frontend and backend usages.
Also, it should reduce the risk of random CID collision.
include/haproxy/quic_cid-t.h
include/haproxy/quic_cid.h
include/haproxy/quic_conn.h
src/quic_cid.c
src/quic_conn.c
src/quic_rx.c
src/xprt_quic.c