mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-18 18:19:39 -05:00
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.
This commit is contained in:
parent
ecffaa6d5a
commit
91a5b67b25
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@
|
|||
#include <haproxy/lb_ss.h>
|
||||
#include <haproxy/log.h>
|
||||
#include <haproxy/obj_type-t.h>
|
||||
#include <haproxy/openssl-compat.h> /* required for TLSEXT_TYPE_application_layer_protocol_negotiation */
|
||||
#include <haproxy/peers.h>
|
||||
#include <haproxy/pool.h>
|
||||
#include <haproxy/protocol.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue