Commit 22312437 authored by cch123's avatar cch123 Committed by Filippo Valsorda
Browse files

crypto/tls: pool Conn's outBuf to reduce memory cost of idle connections



Derived from CL 263277, which includes benchmarks.

Fixes #42035

Co-authored-by: default avatarFilippo Valsorda <filippo@golang.org>
Change-Id: I5f28673f95d4568b7d13dbc20e9d4b48d481a93d
Reviewed-on: https://go-review.googlesource.com/c/go/+/267957


Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Filippo Valsorda <filippo@golang.org>
Trust: Roland Shoemaker <roland@golang.org>
Reviewed-by: default avatarRoland Shoemaker <roland@golang.org>
Reviewed-by: default avatarRoberto Clapis <roberto@golang.org>
parent 7307e86a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment