Toy project to learn how to build server and learn about async ecosystem of Rust
- Build a single-threaded synchronous HTTP/1.1 server
- Parse a request header
- Parse path and read content (with caring about path traversal)
- Parse body
- Build response and send it (should be easy)
- Consider
keep-alive
ing? (maybe)
- Build a single-threaded async runtime and turn the HTTP server into async
- Read the async book
- Totally no idea after that, currently
- Make the runtime multi-threaded
- Steal idea from tokio/async-std/actix?
- Can't handle keep-alive yet (Modern browsers assume all server supports it :( )