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.
This commit is contained in:
parent
f3ec86ad89
commit
4a7b5b3fdb
@ -40,6 +40,7 @@ haproxy h1 -conf {
|
||||
defaults
|
||||
#log stdout format raw daemon
|
||||
mode http
|
||||
option http-buffer-request
|
||||
#option http-use-htx
|
||||
timeout connect 1s
|
||||
timeout client 1s
|
||||
|
@ -40,6 +40,7 @@ haproxy h1 -conf {
|
||||
defaults
|
||||
#log stdout format raw daemon
|
||||
mode http
|
||||
option http-buffer-request
|
||||
option http-use-htx
|
||||
timeout connect 1s
|
||||
timeout client 1s
|
||||
|
Loading…
x
Reference in New Issue
Block a user