QUIC is not implemented on the backend side. To prevent any issue, it is
better to reject any server configured which uses it. This is done via
_srv_parse_init() which is used both for static and dynamic servers.
This should be backported up to all stable versions.
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 */