WEB: bounded opt-in wildcard host routing added

This commit is contained in:
Alexey
2026-10-17 23:42:26 +03:00
parent b2b088495d
commit 9738244285
67 changed files with 2572 additions and 239 deletions
+11
View File
@@ -261,6 +261,7 @@ const LISTENER_CONFIG_KEYS: &[&str] = &[
];
const WEB_CONFIG_KEYS: &[&str] = &[
"allow_wildcard_hosts",
"enabled",
"carrier",
"carrier_method",
@@ -277,6 +278,7 @@ const WEB_CONFIG_KEYS: &[&str] = &[
];
const WEB_LIMITS_CONFIG_KEYS: &[&str] = &[
"wildcard",
"max_header_bytes",
"max_body_bytes",
"max_frame_payload_bytes",
@@ -535,3 +537,12 @@ pub(super) fn handle_unknown_config_keys(parsed_toml: &toml::Value) -> Result<()
Ok(())
}
const WEB_WILDCARD_LIMITS_CONFIG_KEYS: &[&str] = &[
"max_rules",
"max_profiles_per_request",
"cache_hosts",
"cache_bytes",
"cold_hmac_per_minute",
"cold_hmac_burst",
];