]> git.kaiwu.me - haproxy.git/commitdiff
REGTESTS: http-messaging: Properly handle WINDOW_UPDATEs with connect_tunnels
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Nov 2026 07:47:17 +0000 (08:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Nov 2026 07:50:45 +0000 (08:50 +0100)
The last fix was incomplete. Depending on the timeout, with the third test,
two WINDOW_UPDATE frames can be receveid from the server instead of one
before receiving the response. Instead, explicitly wait for these two
WINDOW_UPDATE frames, the first one before sending tunneled data, and the
other one just after.

reg-tests/http-messaging/connect_tunnels.vtc

index 3f67acf6330b78c22e46561b9f43f616ae79f881..c418be0024bc3c2c67dfab8e435eb88cb63ea8cd 100644 (file)
@@ -149,6 +149,7 @@ client c3 -connect ${hap_fe_h2_sock} {
                  -litHdr inc plain ":method" plain "CONNECT" \
                  -litHdr inc plain ":authority" plain "${s3_addr}:${s3_port}" \
                  -nostrend
+               rxwinup
                txdata -data "CLI>>" -nostrend
                rxwinup
                barrier b1 sync