Go: Idle Connections Get Lighter

Multiple commits this cycle target goroutines and threads that sit idle for no good reason, from HTTP/2 server connections to Windows file handles, while a cluster of net/http fixes tightens up spec compliance around headers and trailers.

Duration: PT2M34S

Episode overview

This episode is a short developer briefing from Go.

It explains recent repository work in plain language.

  • Show: Go
  • Published: 2026-09-15T13:07:39Z
  • Audio duration: PT2M34S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. It's September 15th, and today's Go activity centers on one idea: don't pay for work you're not doing.

The headline change comes from Brad Fitzpatrick's HTTP/2 server update, commit 5c51011. Historically, every HTTP/2 server connection pinned a goroutine in its serve loop even when completely idle — fine for a handful of connections, expensive at scale for things like long-polling or server-sent events. Now the serve…

That same "don't hold a resource you don't need" theme shows up on Windows. Quim Muntal's commit 8f5d820 defers initializing a file handle's I/O mode until the first actual read, write, or seek. Previously, querying that mode eagerly could block behind pending synchronous I/O, causing hangs when adopting inherited…

The second theme is HTTP correctness. Damien Neil rewrote how request and response body sizes get computed from Transfer-Encoding and Content-Length headers to follow RFC 9112 more precisely, in commit db450d3. Alongside that, Nicholas Husin fixed a race where trailers could populate concurrently with a caller…

On the compiler side, Alan Donovan reapplied unified export data support for method indices after an earlier revert, and Michael…

What…

Nearby episodes from Go

  1. LoongArch Gets a Tune-Up
  2. Weekly Recap - Platform Correctness and Cleanup
  3. Platform Parsing and Shared-State Bugs
  4. HTTP/2 Comes Home
  5. Correctness Under the Hood
  6. Idle Connections Get an Audit
  7. A Revert, a Regression Fix, and Type-System Guardrails
  8. Compiler Rewrite Packages Get Reorganized