diff --git a/src/cfgparse.c b/src/cfgparse.c index 8b9904783..03578b144 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -2377,6 +2377,9 @@ int check_config_validity() cfgerr += check_action_rules(&defpx->http_req_rules, defpx, &err_code); cfgerr += check_action_rules(&defpx->http_res_rules, defpx, &err_code); cfgerr += check_action_rules(&defpx->http_after_res_rules, defpx, &err_code); +#ifdef USE_QUIC + cfgerr += check_action_rules(&defpx->quic_init_rules, defpx, &err_code); +#endif err = NULL; i = smp_resolve_args(defpx, &err); diff --git a/src/proxy.c b/src/proxy.c index bfef16ddd..1b6c8e4db 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -2152,6 +2152,9 @@ int proxy_finalize(struct proxy *px, int *err_code) cfgerr += check_action_rules(&px->http_req_rules, px, err_code); cfgerr += check_action_rules(&px->http_res_rules, px, err_code); cfgerr += check_action_rules(&px->http_after_res_rules, px, err_code); +#ifdef USE_QUIC + cfgerr += check_action_rules(&px->quic_init_rules, px, err_code); +#endif /* Warn is a switch-mode http is used on a TCP listener with servers but no backend */ if (!px->defbe.name && LIST_ISEMPTY(&px->switching_rules) && px->srv) {