]> Cypherpunks repositories - gostls13.git/commit
net/http: fix incredibly racy TestTransportReading100Continue
authorBrad Fitzpatrick <bradfitz@golang.org>
Sat, 30 Mar 2013 18:18:56 +0000 (11:18 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 30 Mar 2013 18:18:56 +0000 (11:18 -0700)
commitad7aa8302011f08c2cac5291697704b352c2b735
tree54d7152fb5bd5a17f40bdbf81f5401edb0bca396
parent6e054190f77d467e27f3fe64c30661acdc15f02b
net/http: fix incredibly racy TestTransportReading100Continue

Whoops. I'm surprised it even worked before. (Need two pipes,
not one.)

Also, remove the whole pipe registration business, since it
wasn't even required in the previous version. (I'd later fixed
it at the end of send100Response, but forgot to delete it)

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8191044
src/pkg/net/http/transport_test.go