a small HTTP server written in C using POSIX sockets
HTTP Server
A small static HTTP server written in C using POSIX sockets.
Features
- HTTP GET requests
- Static file serving
- Basic MIME types
- Fork-per-connection concurrency
- HTTP error responses
- Directory traversal protection
Build
make
Run
./httpd 8080 ./public