1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:24:54 -07:00
go/doc
Jonathan Amsterdam eb070d7483 net/http: add GODEBUG setting for old ServeMux behavior
Add the GODEBUG setting httpmuxgo121.
When set to "1", ServeMux behaves exactly like it did in Go 1.21.

Implemented by defining a new, unexported type, serveMux121, that
uses the original code.

Updates #61410.

Change-Id: I0a9d0fe2a2286e442d680393e62895ab50683cea
Reviewed-on: https://go-review.googlesource.com/c/go/+/530461
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
2023-10-02 20:28:30 +00:00
..
asm.html doc/asm: fix HTML markup 2021-09-10 17:15:37 +00:00
go1.17_spec.html doc: fix html tags 2023-08-03 14:43:29 +00:00
go1.22.html doc/go1.22: correct tipo languague => language 2023-09-18 17:33:59 +00:00
go_mem.html doc: fix html tags 2023-08-03 14:43:29 +00:00
go_spec.html spec: specify evaluation order for binary logical operations 2023-09-14 05:14:44 +00:00
godebug.md net/http: add GODEBUG setting for old ServeMux behavior 2023-10-02 20:28:30 +00:00