]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: quic: Add connection as argument when qc_new_conn() is called
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Dec 2025 13:30:30 +0000 (14:30 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Dec 2025 14:22:00 +0000 (15:22 +0100)
commita83ed86b78b68fa98283a603f7ba98c38f6366e3
tree28a93d87bfba95296552d8404075524ae225e80b
parent3534efe79879daeffe52fbb5eca8955df324a981
MEDIUM: quic: Add connection as argument when qc_new_conn() is called

This patch reverts the commit efe60745b ("MINOR: quic: remove connection arg
from qc_new_conn()"). The connection will be mandatory when the QUIC
connection is created on backend side to fix an issue when we try to reuse a
TLS session.

So, the connection is again an argument of qc_new_conn(), the 4th
argument. It is NULL for frontend QUIC connections but there is no special
check on it.
include/haproxy/quic_conn.h
src/quic_conn.c
src/quic_rx.c
src/xprt_quic.c