aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
authorRoland Shoemaker <roland@golang.org>2022-08-29 09:40:50 -0700
committerRoland Shoemaker <roland@golang.org>2022-11-07 19:47:10 +0000
commit72ce9ba9cb640f1a2184389d1dc146d731882328 (patch)
treee7167cff2fab26124e2e42638ca42fce24b84b2c /src/runtime/stack.go
parent601ad2e4570896d07df8ace7d2ab9100a57d301c (diff)
downloadgo-72ce9ba9cb640f1a2184389d1dc146d731882328.tar.xz
crypto/tls: use certificate cache in client
In verifyServerCertificate parse certificates using the global certificate cache. This should signficiantly reduce memory usage in TLS clients which make concurrent connections which reuse certificates (anywhere in the chain) since there will only ever be one copy of the certificate at once. Fixes #46035 Change-Id: Icf5153d0ea3c14a0bdc8b26c794f21153bf95f85 Reviewed-on: https://go-review.googlesource.com/c/go/+/426455 Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions