moonchen opened a new pull request, #13657: URL: https://github.com/apache/trafficserver/pull/13657
The rate_limit YAML parser silently ignored unknown keys, so a typo such as `max-age` left aging disabled. Validate each configuration mapping against its accepted keys and reject unknown keys with a diagnostic naming the key, node, and line. Propagate queue and metrics parsing failures so they prevent configuration loading. Adds 13 AuTest scenarios covering valid settings, unknown keys at every mapping level, and malformed nodes, and documents the configuration compatibility change. Fixes: #13529 Validation: - Built the `rate_limit` plugin. - Passed `rate_limit_yaml_keys`, `rate_limit_iprep`, and `rate_limit_sni_expiry` AuTests. - Passed pre-commit formatting checks and `git diff --check`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
