diff --git a/src/server.c b/src/server.c index fc886c917..1bef0e39f 100644 --- a/src/server.c +++ b/src/server.c @@ -3596,6 +3596,14 @@ static int _srv_parse_init(struct server **srv, char **args, int *cur_arg, goto out; } +#ifdef USE_QUIC + if (newsrv->addr_type.proto_type == PROTO_TYPE_DGRAM && + newsrv->addr_type.xprt_type == PROTO_TYPE_STREAM) { + ha_alert("QUIC protocol is unsupported on the backend side.\n"); + goto out; + } +#endif + if (!port1 || !port2) { if (sk->ss_family != AF_CUST_RHTTP_SRV) { /* no port specified, +offset, -offset */