My redux of a toy C++ HTTP/1.x server, but it focuses on event-driven handling: It will use socket polling & std::async for 'non-blocking' I/O operations.
- Beej Sockets Chapter 5
- Important BSD socket API notes
- HTTP Made Really Easy
- Crash course of HTTP/1.x basics
- Handle "absolute host" URIs... Maybe check the scheme as
httpbesides matching thehost:portsegment against theHostand server-set address info. - Test GET query param handling.
- Add colored logging.
