MINOR: contrib/prometheus-exporter: avoid connection close header
authorWilliam Dauchy <wdauchy@gmail.com>
Mon, 11 Jan 2021 19:07:48 +0000 (20:07 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Jan 2021 14:22:52 +0000 (15:22 +0100)
commit2f19974989e1622543279bff20b4a7ccd5ae6203
tree8484bee10f3f0fa957dcc3a45ebf5e90c37e2d88
parent4b1148f4fe80ee79705b9b56addf15325469c6ca
MINOR: contrib/prometheus-exporter: avoid connection close header

it does not seem to have a reason to close connections after each
request; reflect that in tests by doing all requests within the same
client.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
(cherry picked from commit 1704efee89c9a0d430e63e7a9b54e97644d27a2a)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
contrib/prometheus-exporter/service-prometheus.c
reg-tests/contrib/prometheus.vtc