]> git.seodisparate.com - c_simple_http/log
c_simple_http
7 months agoWIP some work on http req/response handling
Stephen Seo [Mon, 2 Sep 2024 04:51:10 +0000 (13:51 +0900)]
WIP some work on http req/response handling

7 months agoAdd more documentation about how src/config works
Stephen Seo [Mon, 2 Sep 2024 04:25:30 +0000 (13:25 +0900)]
Add more documentation about how src/config works

7 months agoUpdate third_party submodule SimpleArchiver
Stephen Seo [Sun, 1 Sep 2024 06:43:59 +0000 (15:43 +0900)]
Update third_party submodule SimpleArchiver

7 months agoUpdate third_party submodule SimpleArchiver
Stephen Seo [Sun, 1 Sep 2024 06:16:08 +0000 (15:16 +0900)]
Update third_party submodule SimpleArchiver

7 months agoUpdate Makefile: recompile if header has changed
Stephen Seo [Sun, 1 Sep 2024 03:36:04 +0000 (12:36 +0900)]
Update Makefile: recompile if header has changed

7 months agoUpdate documentation for config parsing
Stephen Seo [Sat, 31 Aug 2024 07:55:09 +0000 (16:55 +0900)]
Update documentation for config parsing

7 months agoMove config-related code from http.c to config.c
Stephen Seo [Sat, 31 Aug 2024 07:48:24 +0000 (16:48 +0900)]
Move config-related code from http.c to config.c

Also make config-related code more generic and improve unit tests of
config parsing.

7 months agoCleanup usage of third-party headers
Stephen Seo [Sat, 31 Aug 2024 05:43:53 +0000 (14:43 +0900)]
Cleanup usage of third-party headers

7 months agoWIP Impl. config file parsing for http templates
Stephen Seo [Fri, 30 Aug 2024 09:11:03 +0000 (18:11 +0900)]
WIP Impl. config file parsing for http templates

TODO:
    Still need to test "HTML_FILE".
    Response to HTTP request.

7 months agoWIP html template handling for http response
Stephen Seo [Fri, 30 Aug 2024 05:08:31 +0000 (14:08 +0900)]
WIP html template handling for http response

TODO:
    Test html template handling so that it works.
    Respond to http requests properly.

7 months agoAdd third_party SimpleArchiver (data structures)
Stephen Seo [Fri, 30 Aug 2024 02:58:11 +0000 (11:58 +0900)]
Add third_party SimpleArchiver (data structures)

Reusing the data structures implemented in the SimpleArchiver project.

7 months agoAdd hint to error when binding socket
Stephen Seo [Thu, 29 Aug 2024 07:48:43 +0000 (16:48 +0900)]
Add hint to error when binding socket

7 months agoPrint connecting peer's address
Stephen Seo [Thu, 29 Aug 2024 07:45:28 +0000 (16:45 +0900)]
Print connecting peer's address

7 months agoReturn fail on failing to bind socket
Stephen Seo [Thu, 29 Aug 2024 07:45:14 +0000 (16:45 +0900)]
Return fail on failing to bind socket

7 months agoMinor formatting fix
Stephen Seo [Thu, 29 Aug 2024 07:25:30 +0000 (16:25 +0900)]
Minor formatting fix

7 months agoAdd the ISC LICENSE
Stephen Seo [Thu, 29 Aug 2024 07:09:19 +0000 (16:09 +0900)]
Add the ISC LICENSE

7 months agoWIP Impl. receiving and printing received ASCII
Stephen Seo [Thu, 29 Aug 2024 07:00:49 +0000 (16:00 +0900)]
WIP Impl. receiving and printing received ASCII

7 months agoFormatting
Stephen Seo [Thu, 29 Aug 2024 06:40:43 +0000 (15:40 +0900)]
Formatting

7 months agoCleanup
Stephen Seo [Thu, 29 Aug 2024 06:38:44 +0000 (15:38 +0900)]
Cleanup

Separate out functions/structs/constants/globals to properly named
files.

7 months agoWIP work on http server
Stephen Seo [Thu, 29 Aug 2024 06:18:34 +0000 (15:18 +0900)]
WIP work on http server

TODO:
  Handling the TCP connection.

7 months agoSkeleton project initial code
Stephen Seo [Thu, 29 Aug 2024 05:19:46 +0000 (14:19 +0900)]
Skeleton project initial code