refactor: network - harden TCP/IP and unify HTTP clients

This commit is contained in:
2026-07-29 15:35:17 +01:00
parent 75ae7ede56
commit a288dee7df
28 changed files with 1852 additions and 1361 deletions
+18
View File
@@ -0,0 +1,18 @@
CXX ?= g++
CXXFLAGS ?= -std=c++20 -O2 -Wall -Wextra
HTTP_TEST := http_test
.PHONY: all check clean
all: $(HTTP_TEST)
$(HTTP_TEST): http_test.cpp
$(CXX) $(CXXFLAGS) -I../programs/include \
-I../programs/lib/bearssl/inc $< -o $@
check: $(HTTP_TEST)
./$(HTTP_TEST)
clean:
rm -f $(HTTP_TEST)