diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2014-03-25 10:59:09 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2014-03-25 10:59:09 -0700 |
| commit | cc2c5fc3d28ef2e179e605fa41d5e7eec04e34ac (patch) | |
| tree | 4518c2d9e123ea316e569a46b3d645313f4010b6 /src/pkg/runtime/runtime.c | |
| parent | f61f18d694028e5dd466dde11aa1c84bb3a434ed (diff) | |
| download | go-cc2c5fc3d28ef2e179e605fa41d5e7eec04e34ac.tar.xz | |
net/http: don't re-use Transport connections if we've seen an EOF
This the second part of making persistent HTTPS connections to
certain servers (notably Amazon) robust.
See the story in part 1: https://golang.org/cl/76400046/
This is the http Transport change that notes whether our
net.Conn.Read has ever seen an EOF. If it has, then we use
that as an additional signal to not re-use that connection (in
addition to the HTTP response headers)
Fixes #3514
LGTM=rsc
R=agl, rsc
CC=golang-codereviews
https://golang.org/cl/79240044
Diffstat (limited to 'src/pkg/runtime/runtime.c')
0 files changed, 0 insertions, 0 deletions
