ensure resp.Body is discarded to avoid broken tcp sockets (#348)
authorThomas Maier <contact@thomas-maier.net>
Tue, 14 Aug 2018 14:38:07 +0000 (16:38 +0200)
committerBrian Brazil <brian.brazil@robustperception.io>
Tue, 14 Aug 2018 14:38:07 +0000 (15:38 +0100)
commit9a02cbf751629830cdf9147d0935abb8fdf2dc17
tree4607a86f296e41d79c0004e1ad87f50f817aa083
parent2a04b8edfce52b23928e3e5cf85e3b8670262eea
ensure resp.Body is discarded to avoid broken tcp sockets (#348)

Signed-off-by: Thomas Maier <contact@thomas-maier.net>
prober/http.go