prometheus/notifier
Romain Baugue f2ca36e56a 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-24 13:50:16 +01:00
..
notifier.go Exhaust every request body before closing it (#5166) (#5479) 2019-04-24 13:50:16 +01:00
notifier_test.go Exhaust every request body before closing it (#5166) (#5479) 2019-04-24 13:50:16 +01:00