0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-18 15:11:22 +00:00
netdata_netdata/web/server/static
Emmanuel Vasilakis ff4eece8ee
Misc SSL improvements 2 ()
* 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
2023-02-22 19:14:43 +02:00
..
Makefile.am Makefile.am files indentation () 2019-11-11 01:30:00 +02:00
README.md Add markdown files in Learn () 2023-02-08 09:48:19 -08:00
static-threaded.c Misc SSL improvements 2 () 2023-02-22 19:14:43 +02:00
static-threaded.h Remove extern from function declared in headers. () 2022-10-09 16:38:49 +03:00

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.