diff --git a/src/cfgparse-ssl.c b/src/cfgparse-ssl.c index 47e059297..3d58cd22d 100644 --- a/src/cfgparse-ssl.c +++ b/src/cfgparse-ssl.c @@ -1040,7 +1040,9 @@ static int bind_parse_alpn(char **args, int cur_arg, struct proxy *px, struct bi /* parse the "ssl" bind keyword */ static int bind_parse_ssl(char **args, int cur_arg, struct proxy *px, struct bind_conf *conf, char **err) { - conf->xprt = &ssl_sock; + /* Do not change the xprt for QUIC. */ + if (conf->xprt != xprt_get(XPRT_QUIC)) + conf->xprt = &ssl_sock; conf->is_ssl = 1; if (global_ssl.listen_default_ciphers && !conf->ssl_conf.ciphers)