mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 04:10:48 +00:00
REGTEESTS: filters: Fix CONNECT request in random-forwarding script
An invalid CONNECT request was used and make the script failed because of a recent fix.
This commit is contained in:
parent
12f6dbb863
commit
887a2b5bc4
@ -18,7 +18,7 @@ server s1 {
|
|||||||
-bodylen 1048576
|
-bodylen 1048576
|
||||||
|
|
||||||
rxreq
|
rxreq
|
||||||
expect req.url == "/"
|
expect req.url == "127.0.0.1:80"
|
||||||
txresp \
|
txresp \
|
||||||
-hdr "Content-Length: 0"
|
-hdr "Content-Length: 0"
|
||||||
recv 36000
|
recv 36000
|
||||||
@ -92,7 +92,7 @@ client c1 -connect ${h1_fe1_sock} {
|
|||||||
gunzip
|
gunzip
|
||||||
expect resp.bodylen == 1048576
|
expect resp.bodylen == 1048576
|
||||||
|
|
||||||
txreq -method "CONNECT" -url "/" -nolen
|
txreq -method "CONNECT" -url "127.0.0.1:80" -nolen
|
||||||
rxresp
|
rxresp
|
||||||
expect resp.status == 200
|
expect resp.status == 200
|
||||||
send_n 1000 "0123456789abcdefghijklmnopqrstuvwxyz"
|
send_n 1000 "0123456789abcdefghijklmnopqrstuvwxyz"
|
||||||
|
Loading…
Reference in New Issue
Block a user