commit 8af21751f066eced273ca3ce49506b366847c623 [browse]
Author: Gopher Robot
Date: 2026-08-19 09:35:44 -07:00

[release-branch.go1.27] go1.27.0

Change-Id: I9ff6bc81cccdd7876e7b36c395151f70ab3ac654
Reviewed-on: https://go-review.googlesource.com/c/go/+/817701
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Gopher Robot <gobot@golang.org>
TryBot-Bypass: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>

commit 383391045c5d3cb61f1c83dd0727e98af9990092 [browse]
Author: Damien Neil
Date: 2026-08-17 11:11:52 -07:00

[release-branch.go1.27] net/http: clear ReadHeaderTimeout after accepting an unencrypted h2 conn

Fix a bug where a new unencrypted HTTP/2 connection would leave
ReadHeaderTimeout set on the underlying net.Conn, causing the connection
to close abruptly when the timeout expired.

Consistently clear the net.Conn's timeouts before passing a Conn off
to the http2 package.

The new test is adapted from CL 815300 by Benno Moskovitz.

For #80876
Fixes #80928

Change-Id: I42ae5bd678a1cd44879ecc28895b90896a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/816600
Reviewed-by: Nicholas Husin <husin@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Nicholas Husin <nsh@golang.org>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/816680
Reviewed-by: Cherry Mui <cherryyz@google.com>

commit 82a61304481e7f9bf402dde3c8cb5bdeb59e10ec [browse]
Author: Damien Neil
Date: 2026-08-11 08:37:31 -07:00

[release-branch.go1.27] internal/nettest: use TEST-NET-01 addresses by default

When assigning arbitrary addresses to a Listener or Conn,
use addresses in 192.0.2.0/24 (TEST-NET-01, RFC 5735)
rather than loopback.

Avoids issues with httptest fakenet servers routing a request
for a name such as example.com to a loopback address, and
triggering DNS rebind protection (see #80810). The address
assigned by netttest is arbitrary, so we may as well use
one that is highly unlikely to collide with anything in
actual use.

For #80810
Fixes #80836

Change-Id: I58df7fa07982b089048cc3fb53f740f16a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/813200
Reviewed-by: Nicholas Husin <nsh@golang.org>
Reviewed-by: Nicholas Husin <husin@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/813640
Reviewed-by: Cherry Mui <cherryyz@google.com>

commit 274019a1e7114589a2a0dcf5292b073ad9505998 [browse]
Author: Jonathan Amsterdam
Date: 2026-08-03 17:12:27 -04:00

[release-branch.go1.27] encoding/json/jsontext: modify documentation

Clarify documentation. Improve grammar. In one case (Canonicalize),
remove an unclear paragraph.

Change-Id: Id9477ad760f0a3c8729717606dc282c2f8020597
Reviewed-on: https://go-review.googlesource.com/c/go/+/809162
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
(cherry picked from commit 8cfd9de4b75d6a9c8f3e025f6753d3fa6d2c430e)
Reviewed-on: https://go-review.googlesource.com/c/go/+/816480
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>

commit 89696307f2e7b153e09d22345fb7d12075238686 [browse]
Author: khr@golang.org
Date: 2026-07-07 13:41:51 -07:00

[release-branch.go1.27] internal/cpu: disable AVX+ on netbsd/amd64

netbsd's signal handler corrupts bits 128 and higher
in the AVX registers.

Update #80285

Change-Id: I8c57279cec87d7be9cbce242424f4e5c8c21c152
Reviewed-on: https://go-review.googlesource.com/c/go/+/797860
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
(cherry picked from commit b6b368adc57c96c3151d224d172029f233ead2c3)
Reviewed-on: https://go-review.googlesource.com/c/go/+/813360
Reviewed-by: Junyang Shao <shaojunyang@google.com>

clone the repository to get more history