test719-721: verify SOCKS details

Using the new verify/socks details
This commit is contained in:
Daniel Stenberg 2022-01-03 13:35:53 +01:00
parent d2f712ddd0
commit dbbf3609f3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 71 additions and 6 deletions

View file

@ -31,14 +31,14 @@ Funny-head: yesyes
# Client-side
<client>
<server>
http-ipv6
http
socks5
</server>
<name>
HTTP GET with IPv6 numerical via SOCKS5h set with --proxy
HTTP GET with IPv6 numerical via SOCKS5h
</name>
<command>
http://%HOST6IP:%HTTP6PORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
http://[2200::33]:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
</command>
</client>
@ -47,10 +47,13 @@ http://%HOST6IP:%HTTP6PORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
<verify>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: %HOST6IP:%HTTP6PORT
Host: [2200::33]:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
<socks>
atyp 4 => 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33
</socks>
</verify>
</testcase>