]> git.kaiwu.me - haproxy.git/commitdiff
REGTESTS: http-messaging: consume window update before txdata
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 30 Sep 2026 13:03:15 +0000 (13:03 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 30 Sep 2026 13:10:31 +0000 (15:10 +0200)
From time to time, connect_aborted_inflight.vtc seems to fail with:

    ---- c1.1  Frame #0 for rxwinup was of type HEADERS (1) instead of WINDOW_UPDATE (8)

The patch consumes the windows update earlier so it doesn't end up with
this error.

reg-tests/http-messaging/connect_aborted_inflight.vtc

index a21152f209867e6122a8e009067b8e4649f71780..dec32ec9104eb546a92468f7b8ad6c0caff62fe2 100644 (file)
@@ -51,11 +51,11 @@ client c1 -connect ${hap_fe_sock} {
                  -litHdr inc plain ":method" plain "CONNECT" \
                  -litHdr inc plain ":authority" plain "example.com:443" \
                  -nostrend
+               rxwinup
                # Leave raw data pending in the request buffer, preserving its EOM.
                txdata -data "early tunnel data" -nostrend
                barrier b0 sync
                rxwinup
-               rxwinup
                rxhdrs
                expect resp.status == 403