]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Use the new flag to know when the ALPN has been set.
authorOlivier Houchard <ohouchard@haproxy.com>
Sat, 6 Sep 2025 12:13:52 +0000 (14:13 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 9 Sep 2025 17:01:24 +0000 (19:01 +0200)
commit9d65f5cd4da07ae2dad994e7c0fa18520449d2a8
tree6a72c46fa6aa82334f1e75cb32ef99003895d47d
parent5ab9954faa9c815425fa39171ad33e75f4f7d56f
MINOR: ssl: Use the new flag to know when the ALPN has been set.

How that we have a flag to let us know the ALPN has been set, we no
longer have to call ssl_sock_get_alpn() to know if the alpn has been
negociated already.
Remove the call to conn_create_mux() from ssl_sock_handshake(), and just
reuse the one already present in ssl_sock_io_cb() if we have received
early data, and if the flag is set.
src/ssl_sock.c