tinyhttpd is a minimum functional HTTP server with epoll & non-blocking I/O & threadpool programming model in C programming language.
-
support only on Linux2.6+
-
make sure you have cmake installed
mkdir build && cd build cmake .. && make cd .. && ./build/serve -c conf.conf
-
The default port is 3000 , You can visit URL http://localhost:3000 directly.
- HTTP persistent connection
- browser cache
- Timer to detect the timeout events
- epoll
- non-blocking I/O
- Threadpool