glm-5.1 f72fe791e1 Implement config validation with all 18 rules
Add comprehensive validation for StaticConfig and DynamicConfig:
- ValidationError enum with thiserror for descriptive error messages
- validate() function that collects ALL errors (doesn't stop at first)
- All 18 validation rules from config.md implemented
- OR logic for allow_wildcard_bind (config OR CLI flag)
- Hostname normalization to lowercase during validation
- File existence check for manual mode cert_path and key_path
- Unit tests covering each validation rule with valid/invalid inputs
- Updated ConfigReloadHandle to use new validate() function
- Added PartialEq derives to config structs for diff_static_config
2026-06-11 12:48:21 +00:00
2026-06-11 06:32:33 +00:00
2026-06-11 11:59:12 +00:00
Description
No description provided
MIT 1.5 MiB
Languages
Rust 99.8%
Dockerfile 0.2%