https://github.com/yisaer/tinyhttpd
Tinyhttpd is a minimum functional HTTP server
https://github.com/yisaer/tinyhttpd
Last synced: 6 months ago
JSON representation
Tinyhttpd is a minimum functional HTTP server
- Host: GitHub
- URL: https://github.com/yisaer/tinyhttpd
- Owner: Yisaer
- Created: 2017-05-04T02:22:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-19T13:10:16.000Z (over 8 years ago)
- Last Synced: 2025-01-30T00:26:59.393Z (12 months ago)
- Language: C
- Homepage:
- Size: 289 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Tinyhttpd
tinyhttpd is a minimum functional HTTP server with epoll & non-blocking I/O & threadpool programming model in C programming language.
## Compile and Run
1. support only on Linux2.6+
2. make sure you have [cmake](https://cmake.org) installed
mkdir build && cd build
cmake .. && make
cd .. && ./build/serve -c conf.conf
3. The default port is 3000 , You can visit URL **http://localhost:3000** directly.
## Support Function
* HTTP persistent connection
* browser cache
* Timer to detect the timeout events
## Programm model
* epoll
* non-blocking I/O
* Threadpool