A multithreaded web server that says “hello”.
- listening to the TCP connection and reading the request.
- writing a response and returning HTML.
- validating the request and selectively responding.
- simulating a slow request.
- improving throughput with a thread pool.
- handling graceful shutdown.
Based on The Rust Programming Language by Steve Klabnik and Carol Nichols (2021).