]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: proxy: fix default ALPN bind settings quic-interop flx04/quic-interop
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 9 Feb 2026 12:36:59 +0000 (13:36 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 9 Feb 2026 12:52:25 +0000 (13:52 +0100)
commit91a5b67b25d2f3ef1f041841c0d9ab7e2a061cfc
treeca8bf3c2d0dfc78caa43de237051683586893a42
parentecffaa6d5aa82542118e9e4eafec4c4a7bfd80ef
BUG/MINOR: proxy: fix default ALPN bind settings

For "add backend" implementation, postparsing code in
check_config_validity() from cfgparse.c has been extracted in a new
dedicated function named proxy_finalize() into proxy.c.

This has caused unexpected compilation issue as in the latter file
TLSEXT_TYPE_application_layer_protocol_negotiation macro may be
undefined, in particular when building without QUIC support. Thus, code
related to default ALPN on binds is discarded after the preprocessing
stage.

Fix this by including openssl-compat header file into proxy source file.
This should be sufficient to ensure SSL related defines are properly
included.

This should fix recent issues on SSL regtests.

No need to backport.
src/proxy.c