aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2015-07-05 09:15:11 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2015-07-15 23:06:23 +0000
commit88fc3587ec24bf9890f9fbc1be33e313c5d99bbc (patch)
treed77429f67f7e35aec3e08c83ce9a38b7250af972 /src/runtime
parent2b9e5a7165bce1058de7a144ca9d166df4484d02 (diff)
downloadgo-88fc3587ec24bf9890f9fbc1be33e313c5d99bbc.tar.xz
net/http: don't reuse conns after incomplete 100-continue requests
If we receive an HTTP request with "Expect: 100-continue" and the Handler never read to EOF, the conn is in an unknown state. Don't reuse that connection. Fixes #11549 Change-Id: I5be93e7a54e899d615b05f72bdcf12b25304bc60 Reviewed-on: https://go-review.googlesource.com/12262 Reviewed-by: Andrew Gerrand <adg@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions