From 8573c5e2a1a83d43d6b5f03082cac6292651836e Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 7 Oct 2025 16:34:51 +0200 Subject: [PATCH] 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. --- reg-tests/http-messaging/h2_desync_attacks.vtc | 2 ++ 1 file changed, 2 insertions(+) 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