]> git.kaiwu.me - haproxy.git/commit
MEDIUM: ssl: load xprt_qstrm after handshake completion
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 Mar 2026 13:17:38 +0000 (14:17 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Apr 2026 12:02:04 +0000 (14:02 +0200)
commit3c42a7e9acacb2527cbdadff064eacb13715783b
treef62231ac676d987d581167230c95cef17cd76b1c
parentf1ed1de31752892d58719d7afbe10acc7ce19b97
MEDIUM: ssl: load xprt_qstrm after handshake completion

On SSL handshake completion, MUX layer can be initialized if not already
the case. However, for QMux protocol, it is necessary first to perform
transport parameters exchange, via the new xprt_qstrm layer. This patch
ensures this is performed if any flag CO_FL_QSTRM_* is set on the
connection.

Also, SSL layer registers itself via add_xprt. This ensures that it can
be used by xprt_qstrm for the emission/reception of the necessary
frames.
src/connection.c
src/ssl_sock.c