Safe, fast, and simple HTTP server in <400 lines of C.
7E4B1E - fishes
pisces is a safe, fast, and simple HTTP server for static sites written in C. It is completely contained in a single file that is less than 400 lines of code.
pisces is based on SQLite's althttpd and nweb. It operates as a single daemon process that forks a child process per request. It supports only GET requests and only for resources from a predefined list of allowed file types.
It was designed to provide a simple, minimal, no frills way for anyone to serve their own static content.
This site is lovingly served using pisces with HTTPS traffic handled by stunnel.
Last update on 7E4B1E, edited 1 times. 1/1thh