Commit Graph

5 Commits

Author SHA1 Message Date
whaffman
e5ad795917 fix: apply IWYU suggestions and format 2025-09-26 18:08:52 +02:00
whaffman
143498315b fix: apply IWYU suggestions 2025-09-26 18:08:32 +02:00
whaffman
c841142e79 Refactor configuration handling and directive parsing
- Introduced AConfig class to handle common configuration functionalities.
- Added GlobalConfig class to manage multiple ServerConfig instances.
- Updated ServerConfig to utilize the new AConfig base class.
- Refactored directive parsing logic to improve clarity and maintainability.
- Enhanced utility functions for removing comments and empty lines from configuration blocks.
- Updated directive classes to use consistent naming for value retrieval methods.
- Improved logging for better traceability during configuration parsing.
- Removed unused includes and cleaned up code for better readability.
2025-09-26 18:06:37 +02:00
whaffman
17b69afd2c feat(directives): implement DirectiveValue class and IntStringDirective for enhanced directive handling and use std::variant instead of any 2025-09-25 21:57:02 +02:00
Quinten
c9e74ca508 feat(directives): implement directive parsing and factory pattern for configuration 2025-09-25 17:33:14 +02:00