commit | bc964bd1aecab858bb74a24240cd7b2836e229ab | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Wed Apr 13 16:20:09 2022 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Apr 13 16:48:43 2022 +0200 |
tree | a3b9772ff96ee9ca8b8dad105f20dccb6611b4ad | |
parent | 186354beac56b885de7ff42870ada21233889949 [diff] |
BUG/MINOR: quic: Avoid starting the mux if no ALPN sent by the client If the client does not sent an ALPN, the SSL ALPN negotiation callback is not called. However, the handshake is reported as successful. Check just after SSL_do_handshake if an ALPN was negotiated. If not, emit a CONNECTION_CLOSE with a TLS alert to close the connection. This prevent a crash in qcc_install_app_ops() called with null as second parameter value.