prometheus/notifier
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
..
notifier.go Exhaust every request body before closing it (#5166) (#5479) 2019-04-18 09:50:37 +01:00
notifier_test.go Exhaust every request body before closing it (#5166) (#5479) 2019-04-18 09:50:37 +01:00