REGTEST: http-messaging: add "option http-buffer-request" for H2 tests
These tests upload contents and randomly make the server start to
respond before the client finishes to upload data, making the test
occasionally fail. Waiting for a body in the server doesn't always
work, depending on the method or how the data are advertised. Thus,
let's ask haproxy to wait for the request using the aforementioned
option, it guarantees that the DATA frame is sent before the response
HEADERS frame is delivered.
diff --git a/reg-tests/http-messaging/h00003.vtc b/reg-tests/http-messaging/h00003.vtc
index acb56b0..ec11756 100644
--- a/reg-tests/http-messaging/h00003.vtc
+++ b/reg-tests/http-messaging/h00003.vtc
@@ -40,6 +40,7 @@
defaults
#log stdout format raw daemon
mode http
+ option http-buffer-request
option http-use-htx
timeout connect 1s
timeout client 1s