RepoJournal
Go

@golang

Go and the standard library - backend infrastructure at scale

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Go Infrastructure Full archive →

The Wire · Showcase

HTTP/2 TIMEOUT BUG PATCHED IN NET/HTTP, COMPILER CRASHES FIXED ACROSS STACK

By RepoJournal · Filed · About Go

Go just plugged a timing hole in HTTP/2 preface detection that left connections exposed, while the compiler team cleaned up three separate miscompilation bugs that were crashing builds.

The net/http package was reading the HTTP/2 client preface from new connections with no timeout applied, a gap now closed by hoisting the header timeout into the server loop [1]. This matters because unencrypted HTTP/2 servers could hang indefinitely waiting for those initial bytes. Meanwhile, the compiler team reverted a recent init function optimization that broke variable initialization in synthetic functions [2], fixed a type canonicalization bug in shift operation rewrites that confirmed crashes [3], and patched simd emulation String methods that were entirely broken [4]. On the tooling side, gopls got two critical fixes: share objectpath.Encoder across type-checking batches to slash CPU usage from 22 seconds to 10.4 seconds [5], and detect testmain files without relying on GOCACHE to prevent spurious internal package errors [6]. The build infrastructure added metadata-based security comm fetching for RC releases [7], extending a pattern that's been working well in the two-minor-releases workflow.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] net/http: apply header timeout to server's unencrypted HTTP/2 check golang/go
  2. [2] Revert "cmd/compile: speedup large init function compile time" golang/go
  3. [3] cmd/compile: fix misscompile in rewrite generic rules golang/go
  4. [4] simd: repaired emulation String methods for simd golang/go
  5. [5] gopls/internal/cache: share objectpath Encoder across batch golang/tools
  6. [6] gopls/internal/cache: detect testmain without GOCACHE golang/tools
  7. [7] cmd/relui: add metadata-based security comm fetching for RC releases golang/build
  8. [8] net: fix TestLookupCNAME golang/go

Quick answers

What shipped in Go on July 1, 2026?
Go just plugged a timing hole in HTTP/2 preface detection that left connections exposed, while the compiler team cleaned up three separate miscompilation bugs that were crashing builds. In total, 13 commits landed.
What were the notable Go updates?
net/http: apply header timeout to server's unencrypted HTTP/2 check, Revert "cmd/compile: speedup large init function compile time", and cmd/compile: fix misscompile in rewrite generic rules.

More from @golang

Daily updates, in your inbox

Follow Go

Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.