]> Cypherpunks repositories - gostls13.git/commit
net/http: fix regression and mute known test failure for now
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 21 May 2012 17:39:31 +0000 (10:39 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 21 May 2012 17:39:31 +0000 (10:39 -0700)
commit30c0d2315e1c6bdd7a0ba4f7c9e498486cecb750
tree97862350f8b0dcd305264a6c26b48547d5b0494d
parent8f8640a057f813e0238b6d3a77643ac07b52f56b
net/http: fix regression and mute known test failure for now

Two tests added in 820ffde8c are expected to fail until the fix
for Issue 3540 goes back in (pending Windows net fixes), so
make those tests just Logf for now, with a TODO to re-enable.

Add a new client test.

Rearrange the transport code to be more readable, and fix the
bug from 820ffde8c where the persistConn was being closed before
the body was fully ready.

Fixes #3644
Updates #1967 (not yet fixed, but should be after Issue 3540)

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/6211069
src/pkg/net/http/transport.go
src/pkg/net/http/transport_test.go