Commit Graph

331 Commits

Author SHA1 Message Date
whaffman
e600db4453 still trying 2025-11-13 15:04:43 +01:00
whaffman
b6ff2566d1 feat: more trying little closer 2025-11-12 17:16:18 +01:00
Quinten
9f903ce255 feat: trying to docker 2025-11-12 15:47:58 +01:00
Quinten
6c206fa756 refactor: improve UploadHandler boundary extraction and add utility for quoted values 2025-11-12 13:09:42 +01:00
Quinten
59e29f1639 refactor: simplify error logging in epoll functions and separate error handling logic 2025-11-12 13:09:34 +01:00
Quinten
05b8ebf61b refactor: change magic 504 to constant 2025-11-12 11:51:09 +01:00
Quinten
0138883af6 refactor: start on upload handler 2025-11-12 11:50:56 +01:00
whaffman
5d0b46b542 submodlues 2025-11-11 19:09:31 +01:00
whaffman
f0268f0a49 submodule 2025-11-11 19:08:37 +01:00
whaffman
02a8a407d4 42_tester shenanigans 2025-11-11 19:07:13 +01:00
whaffman
bb55ffa75d statuscode rule 2025-11-11 19:06:34 +01:00
whaffman
443e5c3c3b Cgi kill on destruct 2025-11-11 19:05:24 +01:00
Quinten
bec2f37670 log 2025-11-11 17:33:38 +01:00
Quinten
264d539ada updat econfig 2025-11-11 17:33:31 +01:00
Quinten
6263fe3dd5 fix: update parseFullpath to set baseName on invalid path segment and add debug log for CGI check 2025-11-11 17:33:24 +01:00
Quinten
4687b40fc2 fix for tester 2025-11-11 17:33:01 +01:00
Quinten
10db3e58a6 fix: remove unused isMethodSupported function from Router class 2025-11-11 16:29:44 +01:00
Quinten
a11e1ec42d fix: update toBytes method in HttpResponse to accept offset parameter 2025-11-11 16:29:39 +01:00
Quinten
f8a73fde2b fix: set pipes to blocking mode in CgiProcess spawn method 2025-11-11 16:29:27 +01:00
Quinten
82c421f458 fix: refine CGI path validation to exclude relative paths 2025-11-11 16:29:19 +01:00
Quinten
77e09f43ed fix: remove const qualifier from respond and poll methods in Client class 2025-11-11 16:28:44 +01:00
Quinten
f146f41bb8 fix: simplify logging for partial requests and update response handling 2025-11-11 16:28:35 +01:00
whaffman
cebcb85713 cpp upload handler 2025-11-11 15:30:18 +01:00
whaffman
7bb3e850c0 feat: implement file upload handling with multipart support 2025-11-11 15:29:16 +01:00
Quinten
44790957ce fix: make child pipe blocking 2025-11-11 14:46:34 +01:00
Quinten
63c24cf6e8 update submodule 2025-11-11 14:39:52 +01:00
Quinten
7fcca20da5 fix: ignore uploads 2025-11-11 14:38:44 +01:00
Quinten
936a7f09be fix: make func def const 2025-11-11 14:38:14 +01:00
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
b0ce1fb3c8 fix: correctly match uri to location 2025-11-06 13:40:00 +01:00
Quinten
0ae18e534f feat: delete requests 2025-11-05 16:04:26 +01:00
Quinten
5a1d8a1dcf fix: use correct location match segment 2025-11-05 15:18:45 +01:00
Quinten
5076ab0630 fix: missing permissions 2025-11-05 14:59:31 +01:00
whaffman
6a354f6742 fix: improve error handling in Server event processing 2025-11-04 19:25:52 +01:00
whaffman
cd1932762a Merge branch 'main' into cgi-standalone 2025-11-04 17:10:25 +01:00
whaffman
7115a7b907 fix: added TODO's on what to work on 2025-11-04 15:43:00 +01:00
whaffman
53eea8246b fixes 2025-11-04 10:22:52 +01:00
whaffman
004fde1044 chore: update subproject commit reference in webserv-tester 2025-10-31 17:48:11 +01:00
whaffman
13f14e8e5e feat: add CGI standalone 2025-10-31 16:01:38 +01:00
whaffman
e792429b50 fix: add error handling for null bytes in config files and enforce location path rules 2025-10-31 15:10:00 +01:00
whaffman
fe3b28fbfe fix: enforce single semicolon in directives and handle multiple semicolons 2025-10-31 15:09:50 +01:00
whaffman
0aa1fd5bc1 chore: update subproject commit reference in webserv-tester 2025-10-31 15:09:41 +01:00
whaffman
cd64f98b31 fix: ensure location blocks are not allowed in global context 2025-10-31 13:33:54 +01:00
whaffman
7072f71e00 fix: add missing semicolons in location and cgi_handler directives in default.conf 2025-10-31 13:33:36 +01:00
whaffman
fbf2a1eb82 chore: update subproject commit reference in webserv-tester 2025-10-31 10:16:49 +01:00
whaffman
ce42760b3e fix: update trim function in removeEmptyLines to exclude semicolons 2025-10-31 10:05:32 +01:00
whaffman
0ac362face feat: enhance error messages in SizeDirective for invalid size directives 2025-10-31 10:05:17 +01:00
whaffman
206a271142 feat: add error handling for empty directive arguments in createDirective method 2025-10-31 10:05:03 +01:00
whaffman
f6837bf8d5 feat: validate directive has one semicolon in addDirective method 2025-10-31 10:04:51 +01:00