]> Cypherpunks repositories - gostls13.git/commit
net/http: fix goroutine leak in benchmark
authorDmitry Vyukov <dvyukov@google.com>
Wed, 28 Jan 2015 13:17:36 +0000 (16:17 +0300)
committerDmitry Vyukov <dvyukov@google.com>
Wed, 28 Jan 2015 13:42:12 +0000 (13:42 +0000)
commit8bc30e07338d8a8d4a972261e4ff25fa85cec921
treef9cfa04d311ffc6e9f0a8b0b2818995e0f8fd910
parent67f8a8131648346f6bf9b525cd989bd2f7293b3f
net/http: fix goroutine leak in benchmark

Race builders report goroutine leaks after addition of this benchmark:
http://build.golang.org/log/18e47f4cbc18ee8db125e1f1157573dd1e333c41
Close idle connection in default transport.

Change-Id: I86ff7b2e0972ed47c5ebcb9fce19e7f39d3ff530
Reviewed-on: https://go-review.googlesource.com/3412
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/serve_test.go