smol_http

A simple http server supporting GET requests. Written in less than 400 lines of C.
Log | Files | Refs | README | LICENSE

commit 36f1139c027f0e2fc04541c580b668c6bacb8e98
parent bf9bad237100fa58ac3711857cf3a2c98bada24a
Author: Anton Kling <anton@kling.gg>
Date:   Fri,  4 Mar 2022 22:01:46 +0100

Make sure to make the installed binary a setuid binary.

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -13,7 +13,7 @@ smol_http: smol_http.c install: smol_http config.h mkdir -p /usr/bin cp -f smol_http /usr/bin - chmod 755 /usr/bin/smol_http + chmod u+s /usr/bin/smol_http clean: rm smol_http