prometheus/discovery/marathon
Romain Baugue 95193fa027 Exhaust every request body before closing it (#5166) (#5479)
From the documentation:
> The default HTTP client's Transport may not
> reuse HTTP/1.x "keep-alive" TCP connections if the Body is
> not read to completion and closed.

This effectively enable keep-alive for the fixed requests.

Signed-off-by: Romain Baugue <romain.baugue@elwinar.com>
2019-04-18 09:50:37 +01:00
..
marathon_test.go discovery: factorize for SD based on refresh (#5381) 2019-03-25 11:54:22 +01:00
marathon.go Exhaust every request body before closing it (#5166) (#5479) 2019-04-18 09:50:37 +01:00