TL;DR: Hussein Nasser’s latest Backend Engineering Show episode tackles why you’d ever want to shut down an HTTP connection “gracefully” (think freeing resources, avoiding half-finished requests or malicious clients) and walks through how it’s done in both HTTP/1.1 (via the Connection: close header) and HTTP/2 (using the GOAWAY frame).
He breaks it down with clear timestamps—why shutdown at 4:58, HTTP/1.1 details at 6:46, HTTP/2 cost considerations at 12:26, digging into the GOAWAY frame at 17:40—then wraps it all up by 23:40 so you know exactly how to cleanly end those pesky lingering connections.
Watch on YouTube
Top comments (0)