]> git.kaiwu.me - haproxy.git/commit
REGTESTS: Fix h1_to_h2_upgrade.vtc to force h2 on first bind line
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 7 May 2026 14:15:54 +0000 (16:15 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 7 May 2026 14:19:10 +0000 (16:19 +0200)
commit972d0a41835700b89fe2eab60528756705361c37
tree703ff519d93767c66b34e8c78dcde7d9429da5c2
parent5f91cf1b7dbe8aa6ac9ccc4d1a9f431fa173a4c9
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.
reg-tests/http-messaging/h1_to_h2_upgrade.vtc