whaffman
010ee3e8b6
moving some files and fixing includes
2025-10-06 15:16:53 +02:00
Quinten
927b9549c2
feat: implement router request handling and error management
2025-09-30 20:03:05 +02:00
Quinten
e1acf5b515
refactor: replace fdToConfig_ with listener_fds_ for improved socket management
2025-09-30 18:15:08 +02:00
Quinten
1c634ddc02
remove client when it disconnects
2025-09-30 17:18:09 +02:00
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
b145a6eef2
refactor: update includes to use cstdint and cstddef for consistency
2025-09-24 22:34:12 +02:00
whaffman
901f766599
ran iwyu
2025-09-24 12:03:40 +02:00
whaffman
c9855fd7e5
Refactor include directives: replace quotes with angle brackets for consistency
2025-09-22 23:04:51 +02:00
whaffman
df97596321
Enhance code style and organization: update .clang-format for include sorting, enable parallel compilation in CMake, and clean up includes across multiple files for improved readability and consistency.
2025-09-20 23:21:23 +02:00
Quinten Mennen
792cda4b52
client: add NOLINT comments for array usage and buffer handling
...
server: mark handleRequest as const and add NOLINT for array index
2025-09-18 17:45:42 +02:00
Quinten Mennen
db8b078c27
Refactor Client and Server classes to use unique_ptr for socket management, enhance request handling, and improve connection lifecycle management
2025-09-18 15:07:19 +02:00
whaffman
29d6431143
moved CLient class to own dir
2025-09-18 12:56:49 +02:00
whaffman
8e40f538cf
Implement Client and Server classes: add Client class for handling client requests and responses, and enhance Server class with connection management and event loop functionality.
2025-09-17 17:19:10 +02:00
Quinten Mennen
a2db0659c6
Refactor server configuration and implementation: update listen ports in default.conf, enhance Server class with connection handling, and improve socket management in Server.cpp.
2025-09-16 17:08:10 +02:00
whaffman
94653db136
Implement server initialization: add Server class with constructor to initialize host and port from ConfigManager
2025-09-16 15:05:35 +02:00