![]() |
1 year ago | |
---|---|---|
.. | ||
Makefile.am | 5 years ago | |
README.md | 2 years ago | |
static-threaded.c | 1 year ago | |
static-threaded.h | 2 years ago |
static-threaded
web serverThe static-threaded
web server spawns a fixed number of threads.
All the threads are concurrently listening for web requests on the same sockets.
The kernel distributes the incoming requests to them.
Each thread uses non-blocking I/O so it can serve any number of web requests in parallel.
This web server respects the keep-alive
HTTP header to serve multiple HTTP requests via the same connection.