Costa Tsaousis f2b250a1f5 dyncfg v2 (#16702) 1 year ago
..
README.md 2c60f324ee Add markdown files in Learn (#14466) 2 years ago
static-threaded.c f2b250a1f5 dyncfg v2 (#16702) 1 year ago
static-threaded.h ccfbdb5c3d Remove extern from function declared in headers. (#13790) 2 years ago

README.md

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.