Commit graph

124 commits

Author SHA1 Message Date
69f5f7664a Update submodule third-party SimpleArchiver 2024-09-04 15:32:14 +09:00
2f5ea544e5 Set up tests for http_template, fixes 2024-09-04 15:26:20 +09:00
4d400c43be WIP untested Impl. html generation from templates 2024-09-03 16:20:18 +09:00
0b9f0e38f8 WIP some work on http req/response handling 2024-09-02 13:51:10 +09:00
0022bf8b39 Add more documentation about how src/config works 2024-09-02 13:25:30 +09:00
a8f41eec7f Update third_party submodule SimpleArchiver 2024-09-01 15:43:59 +09:00
52d99b7f56 Update third_party submodule SimpleArchiver 2024-09-01 15:16:08 +09:00
1811f65a13 Update Makefile: recompile if header has changed 2024-09-01 12:36:04 +09:00
3cf84b44ec Update documentation for config parsing 2024-08-31 16:55:09 +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
77945f34b9 Add hint to error when binding socket 2024-08-29 16:48:43 +09:00
d46f617b4a Print connecting peer's address 2024-08-29 16:45:28 +09:00
b48f1890bf Return fail on failing to bind socket 2024-08-29 16:45:14 +09:00
cc21e5d205 Minor formatting fix 2024-08-29 16:25:30 +09:00
d11905f837 Add the ISC LICENSE 2024-08-29 16:09:19 +09:00
2bfca849fa WIP Impl. receiving and printing received ASCII 2024-08-29 16:00:49 +09:00
ab05751888 Formatting 2024-08-29 15:40:43 +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