This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

Radar · Go · Archive · Week 50 · Dec 8 – 14, 2025

net/http: HTTP/2 configuration API

Worth knowingstdlib

What changed
The proposal introduces a new HTTP2Config struct that can be attached to http.Server and http.Transport. It unifies server and client HTTP/2 settings and removes the need to import golang.org/x/net/http2 for configuration.
Production impact
The source does not say.
Try it
In a future release, create an http.Server and set its HTTP2Config field to customize HTTP/2 behavior.
Source
github.com/golang/go/issues/67813

Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed