Free to LearnEight lessons ↗

HTTP/2 & QUIC • Interactive studio

Follow a page to your phone

Delivery board

Make a prediction

Three Ways In · Layer 3 of 3 · Node.js 22+ · Zero Dependencies

Build With Your Coding Agent — 5 Rungs + Planted Traps

Build the transport machinery behind modern page loads with your coding agent across five rungs: fair frame multiplexing, per-stream vs. single-pipe head-of-line delivery, packet-number RTT estimation, stream + connection flow-control credit, and QUIC connection-migration path validation. Each rung gives you an architect prompt for Claude Code, Codex, or Cursor, a planted bug that unguided agents write, and a deterministic test suite that catches it.

  1. Frame multiplexing: Chunked frame scheduler interleaving urgent small streams past large downloads — Planted trap: Queueing one giant frame per write so a banner monopolizes the wire.
  2. Independent stream delivery: Per-stream reassembly delivering ready QUIC streams while a lost stream waits — Planted trap: Stalling unrelated streams on TCP-style gaps or delivering out-of-order bytes past a missing offset.
  3. Monotonic packet-number RTT: Distinct packet numbers per retransmission for exact RTT measurement — Planted trap: Overwriting original send timestamps on retry (the TCP retransmission ambiguity trap).
  4. Dual flow-control credit: Simultaneous enforcement of stream-level and connection-level receive windows — Planted trap: Checking per-stream window credit while ignoring exhausted connection-wide credit.
  5. Connection migration: Challenge-response path validation when a phone switches from Wi-Fi to cellular — Planted trap: Switching active send path to an unvalidated source address before PATH_RESPONSE arrives.
unzip agent-project.zip && cd http2-quic-lab/agent-track
node --test test/*.test.mjs
mkdir -p work
QUIC_WORK=./work node --test test/rung-01.test.mjs

Download 5-Rung Agent Track (agent-project.zip) Read AGENT-TRACK.md on GitHub Open agent-track/README.md on GitHub

Source for the eight lessons

To check out the lesson files locally, run these commands.

git clone https://github.com/itsHabib/free-to-learn.git
cd free-to-learn
git switch --detach 7dba0d743224c10a707307769782b0db3f9a2a1a
cd courses/http2-quic-lab
Browse the lesson source · Reuse terms