HTTP/2 in Erlang
summary
A working HTTP/2 server called Chatterbox is implemented in Erlang using supervisors, gen_fsm for per-connection state machines, and Erlang’s binary pattern matching to parse 9‑byte frame headers; HPACK decoding uses the HPACK dynamic table and needs a continuation mutex to avoid races. The implementation handles flow control, settings handshakes, server push, and concurrent response streaming; gen_fsm and supervisors hold up in practice and binary parsing simplifies frame handling.
AI-written summary · about








