Le 11/01/2021 à 17:00, William Dauchy a écrit :
Thanks Christopher for the merge.
On Sun, Jan 10, 2021 at 9:13 PM William Dauchy <[email protected]> wrote:
Add a base test to start with something, even though this is not
necessarily complete.
Also make use of the recent REQUIRE_SERVICE option to exclude it from
test list of it was not build with prometheus included.
note: I thought it was possible to send multiple requests within the
same client, but I'm getting "HTTP header is incomplete" from the second
request
by the way, any explanation why putting multiple requests in the same
client fails with "HTTP header is incomplete"?
I don't like those things I can't explain :]
Multiple requests are supported in the same client in K/A mode. Here the client
connection is closed because the Prometheus exporter adds a "connection: close"
header. However, there is no reason to do so. It should work in K/A mode. But it
explains why it is not possible to perform multiple requests from the same
client in your reg-test.
--
Christopher Faulet