RepoJournal

$ cat golang/week/2026-11-09.log

Go

Go

the week in review · Nov 9 – Nov 15, 2026

Go patches HTTP/1 MaxBytesReader race crash

By RepoJournal · composed from the cited sources · human-reviewed weekly · methodology

♥

Four breaking changes landed alongside the fix, most of them tightening cmd/go's compiler and linker flag allowlists.

249 commits 1 PRs merged 7 briefings covered

all golang reviews →

net/http: prevent HTTP/1 server crash due to MaxBytesReader header race golang/go

by Nicholas S. Husin

On HTTP/1 servers, exceeding MaxBytesReader's limit set "Connection: close" without synchronization, racing a handler-set header and crashing the server. If any handler writes headers while a body read can trip the limit, this patch is the one to take.

cmd/go: disallow --sysroot and -target, validate -isysroot/-syslibroot, and restrict -x golang/go

by Roland Shoemaker

cmd/go now rejects --sysroot and -target outright, and validates -isysroot/-syslibroot rather than letting them through. The rationale: GCC and Clang use --sysroot to relocate subprograms, spec files and CRT startup objects, so the flag was reaching further than a compiler invocation should.

cmd/go: disallow -gen-* and -gnat* in flag allowlists golang/go

by Roland Shoemaker

Clang's -gen-* and GCC's -gnat* were slipping through the 1-argument -g* wildcard, including multi-argument forms like -gen-cdb-fragment-path <dir> and -gnatO <file>. Both are now excluded from the compiler and linker allowlists.

cmd/go, cmd/compile: unquote //go:cgo_ldflag and bound slice removal golang/go

by Roland Shoemaker

Pragma strings now unquote with strconv.Unquote in both cmd/compile's noder and cmd/go's exec.go, and pragmaFields handles backslash-escaped quotes. That makes flags quoted with strconv.Quote in _cgo_gotypes.go round-trip correctly.

cmd/compile, cmd/go: bundle simd and bridge export data for simd importers golang/go

by David Chase

simd/internal/bridge export data now rides inside simd's export data, and any package exporting simd types carries both transitively, which removes the special-case bridge import handling in cmd/go. Importers of the in-development simd packages see different export data on disk.

cmd/internal/obj/riscv: add assembly support of Zfa extension golang/go

by Xueqi Luo

The Go assembler can now encode the Zfa floating-point instructions added in chapter 26 of the RISC-V ISA manual, which RVA23 makes mandatory. Hand-written assembly targeting that profile no longer has to route around the toolchain.

ssh: fail OpenChannel when the connection is lost golang/crypto

by Nicola Murino

mux.loop closes known channels once when the connection fails, so a channel registered after that point was never closed and OpenChannel hung forever. Connections that die mid-open now fail instead of blocking the caller.

gopls/internal/server: don't forget views whose snapshot was cloned golang/tools

by Alan Donovan

The server dropped a view from viewsToDiagnose after a completed diagnosis but checked only the modification context, which needsDiagnosis cancels, so views whose snapshot had been cloned were forgotten. Alongside: goimports -d now diffs in process, modernize stops panicking on non-string Sprint operands, and the Go 1.27.4 and 1.26.11 releases are documented in the website's history.

$ ls golang/week/ # the briefings behind this review

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

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

all golang reviews →