—
GO-2026-6089
Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http
Quick fix
GO-2026-6089 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.25.13 Details
When a server is configured to support unencrypted HTTP/2, it reads a few bytes from each new connection to see if they contain the HTTP/2 client preface. ReadHeaderTimeout is unexpectedly not being applied when doing this.
Are you affected?
Enter the version of the package you're using.