Be super explicit that HTTP keep-alives != TCP keep-alives.
Fixes #26128
Change-Id: I77d74a6fe077259d996543f901a58aa3e49c1093
Reviewed-on: https://go-review.googlesource.com/121616
Reviewed-by: Ian Lance Taylor <iant@golang.org>
// wait for a TLS handshake. Zero means no timeout.
TLSHandshakeTimeout time.Duration
- // DisableKeepAlives, if true, prevents re-use of TCP connections
- // between different HTTP requests.
+ // DisableKeepAlives, if true, disables HTTP keep-alives and
+ // will only use the connection to the server for a single
+ // HTTP request.
+ //
+ // This is unrelated to the similarly named TCP keep-alives.
DisableKeepAlives bool
// DisableCompression, if true, prevents the Transport from