Commit Graph

15 Commits

Author SHA1 Message Date
Quinten
5d4265eab3 works? 2025-11-06 19:10:30 +01:00
Quinten
a52f27d6b7 tmp: stash commit 2025-11-06 15:42:39 +01:00
Quinten
259b22065e no sleep 2025-10-29 14:30:21 +01:00
whaffman
5a2d801992 feat: add autoindex location configuration and enhance URI handling for directory paths 2025-10-29 11:58:06 +01:00
whaffman
0ed0e15e70 feat: update server configuration and enhance file handling
- Increased client_max_body_size to 1000m in default.conf and location /post_body
- Added index.html for YoupiBanane with a welcome message
- Created empty other.pouic file
- Updated FileHandler to change error response from 404 to 403 for forbidden access
- Modified log output to include blue text for status messages
- Changed signal handling variable from stop_ to signum_ in Server class
- Increased MAX_EVENTS in Server run method from 10 to 1024
2025-10-28 15:02:55 +01:00
Quinten
e7e913a32d timeout, but please refactor yes thankyou 2025-10-21 22:17:17 +02:00
whaffman
6cf0f73ee4 cookies 2025-10-20 16:15:07 +02:00
whaffman
ed04838f0d feat(Cgi Environment) fix(No function used in process can log or print is will print to the std o that is captured) 2025-10-20 15:27:08 +02:00
whaffman
0d57ce4f27 trying to setup tester weird stufffff 2025-10-19 14:22:00 +02:00
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