]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MEDIUM: quic: Fix build with openssl-compat
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 24 Oct 2025 11:49:23 +0000 (13:49 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 24 Oct 2025 11:51:15 +0000 (13:51 +0200)
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.

src/cfgparse.c

index de1b03e5a9d3d5f55eca38524a813f46f3ebf7d3..5a7ec7405006b79111659207df9ff612677282eb 100644 (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;