whaffman
377ff71e1e
fix: improve error handling for size directive and chunked body parsing
2025-10-16 01:14:54 +02:00
whaffman
67ab96f9da
refactor: add noexcept annotations to getters and observers
2025-10-16 00:54:29 +02:00
whaffman
5efc48ff74
probably useless chore: update clang-tidy checks to include noexcept-related rules
2025-10-16 00:39:16 +02:00
whaffman
259d7f1371
more no except and const
2025-10-16 00:38:55 +02:00
Quinten
7432cd154c
fix: handle epollhup properly
2025-10-15 20:06:57 +02:00
Quinten
2d6543fb5a
refactor(Server): remove unnecessary sleep in run loop
2025-10-15 18:42:01 +02:00
Quinten
d562c5bcbf
feat: CGI
2025-10-15 18:34:42 +02:00
Quinten
e1be8d8aa8
feat(socket): implement callbacks for asynchronous handling of requests and responses
2025-10-15 17:29:22 +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
Quinten
7134e26f6f
refactor: make response async
2025-10-15 15:28:09 +02:00
whaffman
35432729dc
refactor(ADirective, HttpHeaders, HttpRequest, Server, Socket): improve code structure and readability
2025-10-14 22:43:02 +02:00
whaffman
9bacc4f8a4
fix(main): correct error logging to standard error output for usage message
2025-10-14 22:20:55 +02:00
whaffman
f172987e63
feat(AConfig, URI): add getCGIPath method and implement CGI check in URI
2025-10-14 22:11:34 +02:00
whaffman
42daf68ee2
refactor(DirectiveValue): add TODO comment for constructor
2025-10-14 22:11:12 +02:00
Quinten
9b7f50cc04
refactor(Client): improve error handling in request method and clean up includes
2025-10-14 19:10:27 +02:00
Quinten
68ea191460
refactor: remove unused Router references from Client and Server classes
2025-10-14 19:02:49 +02:00
whaffman
3a95041815
formating
2025-10-14 18:47:09 +02:00
Quinten
f3bdf28eed
refactor: implement socket structure and server refactor
2025-10-14 18:38:57 +02:00
Quinten
970ab847fc
refactor(server): refactor event loop
2025-10-14 15:25:04 +02:00
whaffman
b64a41d84f
feat: implement CGISocket class for handling CGI communication with non-blocking I/O
2025-10-10 11:03:20 +02:00
whaffman
f8a273ec84
moving docs, log files and iwyu map
2025-10-10 07:56:49 +02:00
whaffman
b43901de1a
moved scripts to script folder
2025-10-09 23:13:48 +02:00
whaffman
4614a2d382
moved sites to htdocs and ran format script
2025-10-09 22:57:31 +02:00
whaffman
fc1340ac7f
fix: tests update StdoutChannel and logging methods to remove unnecessary parameters
2025-10-09 22:28:08 +02:00
whaffman
9c343d872e
remove header, correct filename
2025-10-09 22:22:47 +02:00
whaffman
9faa5a1406
feat: enhance C++ development settings in VSCode configuration
2025-10-09 22:22:07 +02:00
whaffman
cc2ed7af56
fix errors from pedantic
2025-10-09 21:16:42 +02:00
whaffman
5215edbb45
add -Wpedantic and some friends
2025-10-09 21:16:30 +02:00
whaffman
5d3821beaa
build all targets parallel
2025-10-09 21:16:11 +02:00
Quinten
20ae0e03dd
feat: add getCGIEnvironment method to retrieve CGI environment variables
2025-10-09 18:06:05 +02:00
Quinten
35d17d8fa9
feat: replace URIParser with URI class for improved URI handling
2025-10-09 18:02:21 +02:00
Quinten
0f9fa38d8b
feat: add initial TODO list for project tasks
2025-10-09 18:01:02 +02:00
Quinten
c3e5117fcb
refactor: uri parser now does parsing
2025-10-09 16:26:31 +02:00
Quinten
6b9ce1dda4
fix: add missing newline and ensure binary operators are placed at the beginning of the line
2025-10-09 16:26:00 +02:00
whaffman
fb84cd09fa
feat: implement RequiredDirectivesRule for config validation
2025-10-08 17:23:12 +02:00
whaffman
a0b85774b1
fix: return path
2025-10-08 17:22:03 +02:00
whaffman
c401b5fbbd
refactor(log): reduce function calls
2025-10-08 17:21:48 +02:00
whaffman
f222cce4ff
refactor: has and owns
2025-10-08 17:21:04 +02:00
whaffman
9aaa085098
refactor: remove RequiredDirectiveRule class and its implementation
2025-10-08 17:20:21 +02:00
whaffman
8b37af4632
feat: add implode
2025-10-08 17:20:08 +02:00
whaffman
7b6ce8fd67
refactor: optimize compiler options and clean up unused directives
2025-10-07 22:38:00 +02:00
whaffman
60dda17042
test coverage
2025-10-07 18:22:36 +02:00
whaffman
6bbd39178a
claude added more tests. tnx claud
2025-10-07 18:11:09 +02:00
Quinten
91879d2638
format
2025-10-07 17:11:17 +02:00
Quinten
e0efb0192c
feat: implement method support check in Router for HTTP requests
2025-10-07 17:03:57 +02:00
Quinten
ec683f1690
fix: correct directive type for cgi_enabled in DirectiveFactory
2025-10-07 16:41:16 +02:00
Quinten
8fa1c44f78
fix: add fatal log for bind failure with host and port details
2025-10-07 16:41:10 +02:00
Quinten
f598fbc185
feat: add split function to utils for string splitting by delimiter
2025-10-07 16:41:02 +02:00
Quinten
1994de27af
feat: add validation rules for CGI extensions, folder existence, and host validation
2025-10-07 16:40:50 +02:00
Quinten
c74bebd75b
fix: update server configuration
2025-10-07 16:40:32 +02:00