mirror of
https://github.com/netdata/netdata.git
synced 2025-05-18 15:11:22 +00:00
![]() * set to wait receive/send when ssl returns wait read/write * compare the bytes * set to normal to prevent going into stream mode with incomplete request * disable wait send |
||
---|---|---|
.. | ||
Makefile.am | ||
README.md | ||
static-threaded.c | ||
static-threaded.h |
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.