implement small http server for admin and testing

This commit is contained in:
Vladimir Dubrovin committed 2026-08-25 17:21:33 +03:00
1 parent a3b40e6176
commit 3526759e59
22 files changed
+950 -254

No files matched your search

+5
View File
@@ -14,6 +14,11 @@ COUT = -o ./
LN = $(CC)
LDFLAGS = -xO3
DCFLAGS = -fPIC
HTTPSRV ?= true
ifeq ($(HTTPSRV),true)
CFLAGS += -DWITH_HTTPSRV
HTTPSRV_OBJS = srvhttpsrv$(OBJSUFFICS) srvwebadmin$(OBJSUFFICS)
endif
DLFLAGS = -shared
DLSUFFICS = .ld.so
LIBS = -lpthread -lsocket -lnsl -lresolv -ldl