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.
This commit is contained in:
Olivier Houchard 2025-10-24 13:49:23 +02:00 committed by Olivier Houchard
parent 837351245a
commit 259b1e1c18

View File

@ -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;