Go 1.28 Turns Transport.CancelRequest Into a No-Op and Adds sync.Counter
Software / news
Go 1.28 Turns Transport.CancelRequest Into a No-Op and Adds sync.Counter
Of 25 accepted proposals in the Go 1.28 milestone, 17 are closed, and the CancelRequest GODEBUG is flagged as a release blocker.
Go 1.28 will make net/http's Transport.CancelRequest a no-op that logs one warning, and will add a sharded sync.Counter, according to accepted proposals in the golang/go repository. Of the 25 issues carrying the Proposal-Accepted label in the Go 1.28 milestone, 17 are closed and eight are still open, based on a GitHub search run on Nov. 30.
The milestone has no due date set. The list comes from GitHub directly, not from the Go proposal tracker that Anton Zhiyanov published on Nov. 29, which he says is built from the proposal review meeting minutes and issue statuses and refreshed weekly and daily.
The accepted proposals worth reading first
| Proposal | Issue | Accepted |
|---|---|---|
sync.Counter, a sharded counter | #80645 | Nov. 4 |
runtime/pprof memory profile | #79179 | Oct. 29 |
Disallow go list ... in module mode | #78387 | May 28 |
| Policy for removing GODEBUG flags | #76163 | June 3 |
Acceptance dates are the comments by the proposal review group, posted under the handle aclements, saying "No change in consensus, so accepted."
Transport.CancelRequest stays, but does nothing
Issue #79040, opened Apr. 29 by the handle neild, proposes that Transport.CancelRequest "be a no-op and log a warning once on the first call." The function was deprecated in Go 1.6 in February 2016. The issue says supporting it for HTTP/1 requests forces the transport to keep a map of in-flight requests, and that it already fails silently on HTTP/2.
A GODEBUG setting, httptransportcancelrequest=1, will bring the old behaviour back. It will last "four release cycles," the standard lifetime from the GODEBUG removal policy in #76163, then go away.
The issue is still open and carries a release-blocker label. On Sept. 24, the handle prattmic asked what had become of the GODEBUG tied to the language version, and neild replied that he had forgotten it. On Nov. 9, the handle cherrymui wrote: "This is a Go 1.28 release blocker."
sync.Counter trades slower reads for fast writes
Issue #80645, opened on July 30, adds a generic sync.Counter for int64, uint64 and float64 values. The proposal says a single atomic counter degrades under high concurrency because of cache-line contention, so the counter is sharded across logical CPUs.
Writes stay fast. Reads are slower: Value "takes time proportional to GOMAXPROCS," and its result should be treated as approximate while writers are active. The issue was closed on Nov. 23 with a FixPending label, 19 days after acceptance.
- Closed17 issues
- Open8 issues
Source: GitHub search API, golang/go, label Proposal-Accepted, milestone Go1.28, accessed 2026-11-30
A memory profile accepted on conditions
Issue #79179, opened May 4 by the handle felixge, adds a memory profile type to runtime/pprof. It extends the live heap profile with dead heap, stacks, runtime memory and an estimate of non-Go memory, so that a process's resident set can be traced to its sources.
On Aug. 19 the review group called it "provisionally accepted pending implementation" because it wanted "to see that the non-vibecoded implementation doesn't crop up any problems." Felixge replied that some change lists were already in good shape. Final acceptance came on Oct. 29, and the issue closed on Nov. 23.
What is still open
Issue #78387, to disallow go list ... in module mode, remains open after its May 28 acceptance. Its author, matloob, argues the command "almost never" does what a user expects. go list -m ... is not affected.
The next date to watch is the one nobody has set: the Go 1.28 milestone has 347 open issues and 364 closed, and no due date. Two Go projects we covered earlier, PocketBase and the Marmot compiler, are the kind that build on whichever release ships it.
Sources
More in Software
- 01Superpowers, at 330,000 Stars, Retunes Brainstorming a Third TimeIssue #2530 says the v7 questions waste tokens, and the fix in draft pull request #2756 was written by Claude Fable 5.2.
- 02Knuth's Algorithm D Had a Bug Since 1995, but Only in Odd BasesA 1995 errata change left Theorem B unproven for the uncapped trial quotient, and LLVM's APInt carries the book's old typo harmlessly.
- 03Unkernel Boots Linux 7.3.4 to Alpine in 0.3 Seconds on NodePooya Parsa's Vercel-sponsored project needs JSPI in the browser, has no IPv6, and ends the session on any kernel WebAssembly trap.
- 04Marmot, a Go Compiler on LLVM, Counts Its Benchmarks Two WaysThe experimental compiler's own pages put its M3 Pro run at 45 programs in one place and 43 in another, with 1.54x as the headline.