Commit Graph

331 Commits

Author SHA1 Message Date
whaffman
5c553e64bb chore: update subproject commit reference in webserv-tester 2025-10-31 08:59:56 +01:00
whaffman
d507a6a022 feat: update error handling for request target length and change response status to BAD_REQUEST 2025-10-30 23:05:47 +01:00
whaffman
5b5cda23ce feat: add URI_TOO_LONG status code and update statusCodeInfos array 2025-10-30 23:05:36 +01:00
whaffman
e8071a6dd0 feat: add Content-Type and Connection headers for autoindex responses 2025-10-30 23:05:11 +01:00
whaffman
a479fa5415 feat: add support for 'Allow' header in METHOD_NOT_ALLOWED responses 2025-10-30 23:04:52 +01:00
whaffman
8609dee529 feat: add error handling for empty configuration files 2025-10-30 23:04:37 +01:00
whaffman
d8fb7d0846 feat: enhance request validation with method checks and error handling 2025-10-30 23:04:27 +01:00
whaffman
f0aaef2ee0 chore: update submodule reference 2025-10-30 23:03:40 +01:00
Quinten
e32139e6be chore: update submodule 2025-10-30 17:21:39 +01:00
Quinten
1b123d84e3 feat: (better) http validation 2025-10-30 17:20:59 +01:00
whaffman
a09ff469ee uri encode utils 2025-10-30 17:13:38 +01:00
Quinten
45572ba95b update submodule 2025-10-30 16:27:33 +01:00
whaffman
2eee8dad5c iomanip 2025-10-30 16:16:13 +01:00
whaffman
8cebe56350 urlencode in utils 2025-10-30 16:14:14 +01:00
Quinten
2e59cb779d feat: handle cgi exit status 2025-10-30 15:58:36 +01:00
whaffman
4a41b678c3 http header date server 2025-10-30 15:56:30 +01:00
Quinten
6d3941ddf2 feat: better status hanlding cgi and custom env 2025-10-30 15:15:06 +01:00
whaffman
c2bdbeb307 support different headerseperators 2025-10-30 15:06:36 +01:00
whaffman
334c378d23 change cgi_ext to cgi_handler 2025-10-30 15:06:13 +01:00
Quinten
895ad1481b feat: find all header endings 2025-10-30 14:27:40 +01:00
whaffman
6824c75d8c fix args for tester 2025-10-29 23:45:04 +01:00
Quinten
be91e731fa fix 2025-10-29 17:55:51 +01:00
Quinten
ee6e4b9c38 webserv-tester update 2025-10-29 17:03:24 +01:00
Quinten
4a35be9d23 feat: added tester 2025-10-29 16:59:07 +01:00
Quinten
da3ba9014d fix: new todo 2025-10-29 16:55:07 +01:00
Quinten
f987ac6f85 refactor: no folder exists rule 2025-10-29 16:54:56 +01:00
Quinten
57c56b12e7 feat: sh cgi ext 2025-10-29 16:54:46 +01:00
Quinten
1ef4adc3d8 feat: allow multiple server names 2025-10-29 16:54:14 +01:00
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