]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Add a flag to let it known we have an ALPN negociated
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 5 Sep 2025 15:48:33 +0000 (17:48 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 9 Sep 2025 17:01:24 +0000 (19:01 +0200)
commit5ab9954faa9c815425fa39171ad33e75f4f7d56f
treee4374976c8fbc9e4c3e7815c83993d20cc90144b
parent6b78af837d7b5b75b7c22a5fa39bf50ed727d904
MINOR: ssl: Add a flag to let it known we have an ALPN negociated

Add a new flag to the ssl_sock_ctx, to be set as soon as the ALPN has
been negociated.
This happens before the handshake has been completed, and that
information will let us know that, when we receive early data, if the
ALPN has been negociated, then we can immediately create a mux, as the
ALPN will tell us which mux to use.
include/haproxy/ssl_sock-t.h
src/ssl_sock.c