Commit Graph

303 Commits

Author SHA1 Message Date
Quinten
c09e5b6579 remove: unused getName() 2025-10-29 16:53:47 +01:00
Quinten
4cd3e394c3 feat: main allow -c 2025-10-29 16:53:32 +01:00
Quinten
c48b169c65 remove unsed cgi env in uri 2025-10-29 16:48:41 +01:00
Quinten
e34205bd39 formatting 2025-10-29 15:51:32 +01:00
Quinten
e1e3003d94 conf for tester 2025-10-29 15:51:23 +01:00
Quinten
3d49499b18 auto 2025-10-29 15:51:14 +01:00
Quinten
067e28b178 remove mac tester 2025-10-29 15:50:48 +01:00
Quinten
259b22065e no sleep 2025-10-29 14:30:21 +01:00
Quinten
50ca9ca876 signum not sigint 2025-10-29 14:30:08 +01:00
Quinten
2d9bf7a37f feat: add remote addr to cgi env 2025-10-29 14:29:59 +01:00
Quinten
a68e7fd33c fix: format header doesn't compile on codam 2025-10-29 13:09:48 +01:00
whaffman
19ab6aef37 fix: update URI generation to avoid hardcoded authority 2025-10-29 12:11:59 +01:00
whaffman
3714004bad fix: enhance URI path handling 2025-10-29 12:11:20 +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
0f9a1b0029 fix: clarify TODO comment regarding directory handling in FileHandler 2025-10-28 22:36:33 +01:00
whaffman
f147b01902 feat: enhance header output formatting for improved visibility 2025-10-28 22:27:03 +01:00
whaffman
9e773e43fd feat: implement redirect handling and update configuration 2025-10-28 22:02:11 +01:00
whaffman
2fce81c2e1 feat(header) 2025-10-28 16:53:28 +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
0534d07948 feat: autoindex 2025-10-28 14:19:52 +01:00
whaffman
b27b3fe2d2 feaat(statusbar) 2025-10-27 15:16:03 +01:00
Quinten
12106441f1 format 2025-10-27 09:32:15 +01:00
Quinten
9358370044 extend validation logic 2025-10-27 09:25:26 +01:00
Quinten
d8a89c3814 i think this is nicer, wby? 2025-10-26 19:18:26 +01:00
Quinten
4cf3eac4d1 feat: request validation 2025-10-26 19:18:11 +01:00
whaffman
d98fb98c52 iwyu 2025-10-26 13:43:42 +01:00
whaffman
5e9243b064 feat(SIGTERM) is this not to global for you sir? 2025-10-26 12:10:17 +01:00
Quinten
be39dfa4c4 no extensions cmake 2025-10-22 16:52:16 +02:00
Quinten
ce67805e1b feat: auto close fds on exec 2025-10-22 16:51:58 +02:00
Quinten
c712cbf6db refactor(log): remove mode and clear channels function 2025-10-22 16:51:32 +02:00
Quinten
c49b259862 refactor: no cancel timer 2025-10-22 15:37:13 +02:00
Quinten
728638b1e4 feat(config): add direcive for timeout 2025-10-22 15:37:00 +02:00
Quinten
11687b1782 fix(file utils): allow empty addition 2025-10-22 15:36:42 +02:00
Quinten
176864f35c fix(client): remove sockets on client destruct 2025-10-22 15:36:26 +02:00
whaffman
656abd24e7 feat(CgiHandler, TimerSocket): enhance error handling and add read/write methods 2025-10-22 15:18:15 +02:00
whaffman
cd33bb1ce6 refactor(CgiProcess): update TODO comment for pipe handling to improve clarity 2025-10-21 23:47:21 +02:00
Quinten
e7e913a32d timeout, but please refactor yes thankyou 2025-10-21 22:17:17 +02:00
whaffman
c148636b1e fix(CgiHandler, CgiProcess): improve socket management by adding stderr socket handling 2025-10-21 19:03:40 +02:00
whaffman
7eba0b38a2 Merge remote-tracking branch 'origin/feature/socket-refactor' into willem2 2025-10-21 19:03:32 +02:00
Quinten
053c167574 feat(dev container): add php cgi to build requirements 2025-10-21 16:55:28 +02:00
Quinten
cfb88745bb refactor(Client, Server, ASocket): update socket handling and state management 2025-10-21 16:55:11 +02:00
whaffman
bf36dd74d8 Cgi stderr 2025-10-21 15:37:45 +02:00
whaffman
7951478edf minimal fix for segfault 2025-10-21 15:11:39 +02:00
whaffman
6028e0c1fe remove compile flags 2025-10-21 13:24:22 +02:00
whaffman
eedb5382ea fix(URI): trim URI before extracting substring for improved path handling 2025-10-20 17:56:56 +02:00
whaffman
8dc20a5715 fix(HttpRequest): add TODO for potential segfault when server does not exist 2025-10-20 17:56:18 +02:00
whaffman
6cf0f73ee4 cookies 2025-10-20 16:15:07 +02:00
whaffman
d1b392d2a2 match index in URI 2025-10-20 15:33:55 +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