Commit Graph

6 Commits

Author SHA1 Message Date
whaffman
0c081bbb2c feat: cgi headers: enhance CGI handling with output parsing and buffer management 2025-10-19 13:54:19 +02:00
whaffman
a8dd8a77a5 error response 2025-10-16 14:52:25 +02:00
Quinten
7432cd154c fix: handle epollhup properly 2025-10-15 20:06:57 +02:00
Quinten
d562c5bcbf feat: CGI 2025-10-15 18:34:42 +02:00
Quinten
0887acd81a feat(config): add new server configuration for site-3 and implement CGI support
feat(site-3): create index.php for site-3 with a greeting message
refactor(client): change setCgiSocket to accept unique_ptr for better memory management
fix(AConfig): adjust getCGIPath to correctly prepend dot to extension
refactor(CgiProcess): update CGI process handling to use unique_ptr for CgiSocket
refactor(URI): enhance logging for CGI checks and improve condition checks
refactor(Router): clean up commented code and add debug logging for CGI process
fix(Server): improve error logging for epoll_ctl failures
2025-10-15 17:03:49 +02:00
whaffman
4614a2d382 moved sites to htdocs and ran format script 2025-10-09 22:57:31 +02:00