summaryrefslogtreecommitdiffstats
path: root/web/server/multi/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'web/server/multi/README.md')
-rw-r--r--web/server/multi/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/server/multi/README.md b/web/server/multi/README.md
new file mode 100644
index 000000000..f51073e93
--- /dev/null
+++ b/web/server/multi/README.md
@@ -0,0 +1,8 @@
+# `multi-threaded` web server
+
+The `multi-threaded` web server spawns a thread for each connection it receives.
+
+Each thread uses non-blocking I/O so it can serve any number of web requests in parallel,
+though this is not supported by HTTP, so in practice each thread serves all the requests sequentially.
+
+Each thread respects the `keep-alive` HTTP header to serve multiple HTTP requests via the same connection. \ No newline at end of file