Commit graph

13 commits

Author SHA1 Message Date
703b759d43 Add hardening compiler flags to Makefile
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 3s
2024-09-11 12:56:00 +09:00
3bace3286f Refactor "print request headers"
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 2s
Resolves #1
2024-09-09 12:41:15 +09:00
3f70c52551 Use ${CC} and "CC ?= gcc" in Makefile
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 2s
2024-09-05 16:25:49 +09:00
4d400c43be WIP untested Impl. html generation from templates 2024-09-03 16:20:18 +09:00
1811f65a13 Update Makefile: recompile if header has changed 2024-09-01 12:36:04 +09:00
f5507c8412 Move config-related code from http.c to config.c
Also make config-related code more generic and improve unit tests of
config parsing.
2024-08-31 16:48:24 +09:00
edffbf0656 Cleanup usage of third-party headers 2024-08-31 14:43:53 +09:00
b4a56a7918 WIP Impl. config file parsing for http templates
TODO:
    Still need to test "HTML_FILE".
    Response to HTTP request.
2024-08-30 18:11:03 +09:00
efd4b39311 WIP html template handling for http response
TODO:
    Test html template handling so that it works.
    Respond to http requests properly.
2024-08-30 14:16:20 +09:00
d5a02de85e Add third_party SimpleArchiver (data structures)
Reusing the data structures implemented in the SimpleArchiver project.
2024-08-30 11:58:11 +09:00
cadaf66cae Cleanup
Separate out functions/structs/constants/globals to properly named
files.
2024-08-29 15:38:44 +09:00
8b0363a059 WIP work on http server
TODO:
  Handling the TCP connection.
2024-08-29 15:18:34 +09:00
1a8f81f84f Skeleton project initial code 2024-08-29 14:19:46 +09:00