All projects

systems cli

An HTTP server from the socket up

Parse requests yourself, handle concurrency yourself, and never fear HTTP again.

advancedGo~30h

Why it matters

Frameworks hide HTTP until something goes wrong. Writing the server once means you can debug keep-alive, chunked encoding and timeouts for the rest of your career.

What you build

  • A TCP listener and request parser
  • Correct keep-alive and chunked encoding
  • Concurrent connection handling
  • Timeouts that stop a slow client holding a worker

If you want more

  • Add TLS
  • Add HTTP/2

Build it 5 steps

Material for the whole build

Shows a first-principles understanding of the protocol everything else you build sits on.

Get a plan built around projects like this