go/doc/next/6-stdlib/99-minor
Daniel McCarney a21b71daf5 crypto/tls: have servers prefer TLS 1.3 when supported
Previously the common Config.mutualVersion() code prioritized the
selected version based on the provided peerVersions being sent in peer
preference order.

Instead we would prefer to see TLS 1.3 used whenever it is
supported, even if the peer would prefer an older protocol version.
This commit updates mutualVersions() to implement this policy change.

Our new behaviour matches the behaviour of other TLS stacks, notably
BoringSSL, and so also allows enabling the IgnoreClientVersionOrder BoGo
test that we otherwise must skip.

Updates #72006

Change-Id: I27a2cd231e4b8762b0d9e2dbd3d8ddd5b87fd5cb
Reviewed-on: https://go-review.googlesource.com/c/go/+/673236
Auto-Submit: Daniel McCarney <daniel@binaryparadox.net>
TryBot-Bypass: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
2025-05-21 12:17:01 -07:00
..
archive/tar io/fs: add ReadLinkFS interface 2025-02-03 08:38:43 -08:00
crypto crypto/tls: have servers prefer TLS 1.3 when supported 2025-05-21 12:17:01 -07:00
debug/elf debug/elf: add riscv attributes definitions 2025-03-14 15:08:23 -07:00
go go/token: add FileSet.AddExistingFiles 2025-05-19 11:26:48 -07:00
io/fs io/fs: add ReadLinkFS interface 2025-02-03 08:38:43 -08:00
log/slog log/slog: add GroupAttrs 2025-05-21 11:29:28 -07:00
mime/multipart mime/multipart: add helper to build content-disposition header contents 2025-03-12 16:20:01 -07:00
net net,os: support converting between *os.File and net.Conn on Windows 2025-05-05 04:05:18 -07:00
os os: add Root.ReadFile and Root.WriteFile 2025-05-21 11:59:27 -07:00
reflect reflect: add TypeAssert[T] 2025-05-20 12:40:33 -07:00
regexp/syntax regexp/syntax: recognize category aliases like \p{Letter} 2025-04-18 14:13:38 -07:00
runtime runtime: use cgroup CPU limit to set GOMAXPROCS 2025-05-21 10:21:55 -07:00
sync sync: add WaitGroup.Go 2025-04-04 08:19:32 -07:00
testing testing/synctest: add Test 2025-05-20 15:46:03 -07:00
unicode unicode: add CategoryAliases, Cn, LC 2025-04-18 14:13:31 -07:00
unique doc: add release notes for cleanups and the unique package 2025-05-20 12:06:05 -07:00
0-heading.md doc: initialize next directory for Go 1.25 2025-02-03 07:52:07 -08:00
README doc: initialize next directory for Go 1.25 2025-02-03 07:52:07 -08:00

API changes and other small changes to the standard library go here.