From: Olivier Houchard Date: Fri, 24 Oct 2025 11:49:23 +0000 (+0200) Subject: MEDIUM: quic: Fix build with openssl-compat X-Git-Tag: v3.3-dev11~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=259b1e1c18b2daeede208fb86a43746ff18f2391;p=thirdparty%2Fhaproxy.git MEDIUM: quic: Fix build with openssl-compat As the QUIC options have been split into backend and frontend, there is no more GTUNE_QUIC_LISTEN_OFF to be found in global.tune.options, look for QUIC_TUNE_FE_LISTEN_OFF in quic_tune.fe instead. This should fix the build with USE_QUIC and USE_QUIC_OPENSSL_COMPAT. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index de1b03e5a..5a7ec7405 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -4312,7 +4312,7 @@ init_proxies_list_stage2: # ifdef USE_QUIC_OPENSSL_COMPAT /* store the last checked bind_conf in bind_conf */ - if (!(global.tune.options & GTUNE_QUIC_LISTEN_OFF) && + if (!(quic_tune.fe.opts & QUIC_TUNE_FE_LISTEN_OFF) && !(global.tune.options & GTUNE_LIMITED_QUIC) && listener->bind_conf != bind_conf) { bind_conf = listener->bind_conf;