]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: create the mux immediately on early data
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 9 Sep 2025 13:34:32 +0000 (15:34 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 9 Sep 2025 17:01:24 +0000 (19:01 +0200)
commit6b78af837d7b5b75b7c22a5fa39bf50ed727d904
tree30a9063db7c88b1117aec792e5a3a80cff353254
parentaa25ddb773e484793a5c245bfa3f98b917c215be
BUG/MEDIUM: ssl: create the mux immediately on early data

If we received early data, and an ALPN has been negociated, then
immediately try to create a mux if we did not have one already.
Generally, at this point we would not have one, as the mux is decided by
the ALPN, however at this point, even if the handshake is not done yet,
we have enough to determine the ALPN, so we can immediately create the
mux.
Doing so makes up able to treat the request immediately, without waiting
for the handshake to be done.

This should be backported up to 2.8.
src/ssl_sock.c