mirror of
https://github.com/golang/net.git
synced 2026-03-31 18:37:08 +09:00
Currently Server builds two process-global maps to cut down allocations due to lower-casing and canonicalization of common headers. Lower-casing/canonicalization has also been a significant source of garbage in Transport - this change extends use of the same process-global maps to the client. Change-Id: I2324c9567a61f28d4dd633a2c0618f08ddbf457c Reviewed-on: https://go-review.googlesource.com/c/net/+/442175 Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>