]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: http-messaging: add "option http-buffer-request" for H2 tests
authorWilly Tarreau <w@1wt.eu>
Fri, 14 Dec 2018 08:51:48 +0000 (09:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Dec 2018 08:51:48 +0000 (09:51 +0100)
commit4a7b5b3fdb291eb54b5750f2328d06ef16935f5c
treefafb155d7c5458562ee80c90351accd2a2902ec5
parentf3ec86ad891c26d85e0a090a63a38881e8b60e46
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.
reg-tests/http-messaging/h00002.vtc
reg-tests/http-messaging/h00003.vtc