From: Willy Tarreau Date: Tue, 7 Oct 2025 14:34:51 +0000 (+0200) Subject: REGTESTS: fix h2_desync_attacks to wait for the response X-Git-Tag: v3.3-dev10~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8573c5e2a1a83d43d6b5f03082cac6292651836e;p=thirdparty%2Fhaproxy.git REGTESTS: fix h2_desync_attacks to wait for the response Tests with abortonclose showed a bug with this test where the client would close the stream immediately after sending the request, without waiting for the response, causing some random failures on the server side. --- diff --git a/reg-tests/http-messaging/h2_desync_attacks.vtc b/reg-tests/http-messaging/h2_desync_attacks.vtc index f77538b07..d5bf33bd6 100644 --- a/reg-tests/http-messaging/h2_desync_attacks.vtc +++ b/reg-tests/http-messaging/h2_desync_attacks.vtc @@ -169,6 +169,8 @@ client c6-host-authority -connect ${hap_fe3_sock} { -url "/" \ -hdr ":authority" "hostname" \ -hdr "host" "other_host" + rxhdrs + expect resp.status == 200 } -run } -run