summaryrefslogtreecommitdiffstats
path: root/web/server/static/README.md
blob: 16febdb32357cfa6dc7a2685c45de02e42fd71cc (plain)
1
2
3
4
5
6
7
8
9
# `static-threaded` web server

The `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.