]> Cypherpunks repositories - gostls13.git/commit
net/http: soften wording around when the Transport reuses connections
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 4 Jan 2018 23:06:31 +0000 (23:06 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 5 Jan 2018 00:36:20 +0000 (00:36 +0000)
commit3639929d7b08eabb36c380444c80f54c9f7a4cee
treebb2edf7e51848c9c74f9bb1ff225d867e275eeb8
parenta6b938549e5e0ff33c77a5bbba797a1a6f7f9401
net/http: soften wording around when the Transport reuses connections

The docs were too specific. Make it vaguer. There are conditions for
which the Transport will try to reuse a connection anyway, even if the
Response Body isn't read to EOF or closed, but we don't need to get
into all the details in the docs.

Fixes #22954

Change-Id: I3b8ae32aeb1a61b396d0026e129552afbfecceec
Reviewed-on: https://go-review.googlesource.com/86276
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/response.go