mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-16 18:46:54 +00:00
REGTESTS: adjust the http-rules regtest to support window updates
Varnishtest is not happy to see the window update come before the settings ACK, as by default it expects exactly tx/rx/txack/rxack. One workaround could consist in making haproxy send the WU after the settings ACK but this would be a real hack as the preface is already finished when sending this ack. Instead, let's make the initial sequence explicit in the tests.
This commit is contained in:
parent
f1b60f78e0
commit
211d540a81
@ -187,6 +187,15 @@ client c1h1 -connect ${h1_feh1_sock} {
|
||||
} -run
|
||||
|
||||
client c1h2 -connect ${h1_feh2_sock} {
|
||||
txpri
|
||||
stream 0 {
|
||||
txsettings
|
||||
rxsettings
|
||||
txsettings -ack
|
||||
rxwinup
|
||||
rxsettings
|
||||
expect settings.ack == true
|
||||
} -run
|
||||
stream 1 {
|
||||
# warning: -req, -scheme, -url MUST be placed first otherwise
|
||||
# the H2 protocol is invalid since they are pseudo-headers
|
||||
|
@ -188,6 +188,15 @@ client c1h1 -connect ${h1_feh1_sock} {
|
||||
} -run
|
||||
|
||||
client c1h2 -connect ${h1_feh2_sock} {
|
||||
txpri
|
||||
stream 0 {
|
||||
txsettings
|
||||
rxsettings
|
||||
txsettings -ack
|
||||
rxwinup
|
||||
rxsettings
|
||||
expect settings.ack == true
|
||||
} -run
|
||||
stream 1 {
|
||||
# warning: -req, -scheme, -url MUST be placed first otherwise
|
||||
# the H2 protocol is invalid since they are pseudo-headers
|
||||
|
Loading…
Reference in New Issue
Block a user