]> Cypherpunks repositories - gostls13.git/commit
net/http: don't buffer request writing if dest is already buffered
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 9 Jan 2013 18:33:46 +0000 (10:33 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 9 Jan 2013 18:33:46 +0000 (10:33 -0800)
commitf38df4e8790969180aee6b5889305f41539a8693
treecd74888a9b88e10c7ead7b381113bb25eb1011c9
parenta6e4aa3ef2f0a0132bb7294a7a662b4b96143742
net/http: don't buffer request writing if dest is already buffered

The old code made it impossible to implement a reverse proxy
with anything less than 4k write granularity to the backends.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/7060059
src/pkg/net/http/request.go
src/pkg/net/http/request_test.go