mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-10-27 14:41:28 +01:00
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.
This commit is contained in:
parent
c42e62d890
commit
8573c5e2a1
@ -169,6 +169,8 @@ client c6-host-authority -connect ${hap_fe3_sock} {
|
|||||||
-url "/" \
|
-url "/" \
|
||||||
-hdr ":authority" "hostname" \
|
-hdr ":authority" "hostname" \
|
||||||
-hdr "host" "other_host"
|
-hdr "host" "other_host"
|
||||||
|
rxhdrs
|
||||||
|
expect resp.status == 200
|
||||||
} -run
|
} -run
|
||||||
} -run
|
} -run
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user