mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-08 06:26:10 +02:00
REGTESTS: Fix h1_to_h2_upgrade.vtc to force h2 on first bind line
With VTEST, It seems possible to receive the H2 preface in 2 packets. So the preface cannot be matched and the H1 to H2 upgrade is not performed as expected. The script was fixed by forcing the H2 proto on the first bind line. The problem with the preface matching will be reviewed later.
This commit is contained in:
parent
5f91cf1b7d
commit
972d0a4183
@ -28,7 +28,7 @@ haproxy h1 -conf {
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
||||
listen feh1
|
||||
bind "fd@${feh1}"
|
||||
bind "fd@${feh1}" proto h2
|
||||
bind "fd@${feh2}" proto h1
|
||||
server s1 ${s1_addr}:${s1_port}
|
||||
} -start
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user