]> Cypherpunks repositories - gostls13.git/commit
net/http: fix broken TestIssue4191_InfiniteGetToPutTimeout
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 28 Nov 2012 06:00:50 +0000 (17:00 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 28 Nov 2012 06:00:50 +0000 (17:00 +1100)
commitb5aa4789f93be669696f2a9b95eb018b931993d8
tree717de24117728d17d68160596f2eb10bb1589d18
parent28b599425dd535539f9001d42ec4dd4d472f3195
net/http: fix broken TestIssue4191_InfiniteGetToPutTimeout

Test creates 2 tcp connections for put and get. Make sure
these are closed properly after test is over, otherwise
server hangs waiting for connection to be closed.

R=golang-dev, bradfitz, dave
CC=golang-dev
https://golang.org/cl/6842109
src/pkg/net/http/transport_test.go