diff options
Diffstat (limited to 'bench')
-rw-r--r-- | bench/bench.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bench/bench.go b/bench/bench.go index a56be52..1011ae4 100644 --- a/bench/bench.go +++ b/bench/bench.go @@ -42,12 +42,6 @@ func connect(cid int) { panic(err) } }() - defer func() { - err := r.Body.Close() - if err != nil { - panic(err) - } - }() if r.StatusCode != http.StatusSwitchingProtocols { panic(errUnexpectedStatusCode) |