2013-06-05 04:52:13 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP CONNECT
|
2014-01-25 23:55:05 +08:00
|
|
|
HTTP proxy
|
2013-06-05 04:52:13 +08:00
|
|
|
IPv6
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2014-01-25 23:55:05 +08:00
|
|
|
|
2013-06-05 04:52:13 +08:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2013-06-05 04:52:13 +08:00
|
|
|
Content-Length: 9
|
2021-06-09 05:56:50 +08:00
|
|
|
|
2013-06-05 04:52:13 +08:00
|
|
|
mooooooo
|
|
|
|
</data>
|
|
|
|
|
|
|
|
<connect>
|
|
|
|
HTTP/1.1 200 welcome dear
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2013-06-05 04:52:13 +08:00
|
|
|
|
|
|
|
</connect>
|
|
|
|
|
|
|
|
<datacheck>
|
|
|
|
HTTP/1.1 200 welcome dear
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2013-06-05 04:52:13 +08:00
|
|
|
|
|
|
|
HTTP/1.1 200 OK
|
2020-02-28 22:00:03 +08:00
|
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
2013-06-05 04:52:13 +08:00
|
|
|
Content-Length: 9
|
2021-06-09 05:56:50 +08:00
|
|
|
|
2013-06-05 04:52:13 +08:00
|
|
|
mooooooo
|
|
|
|
</datacheck>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<features>
|
|
|
|
ipv6
|
2019-10-15 04:29:19 +08:00
|
|
|
proxy
|
2013-06-05 04:52:13 +08:00
|
|
|
</features>
|
|
|
|
<server>
|
|
|
|
http-proxy
|
|
|
|
http-ipv6
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
HTTP CONNECT to IPv6 numerical address
|
|
|
|
</name>
|
2021-03-13 00:38:26 +08:00
|
|
|
# 0x4ce == %TESTNUMBER, the test number
|
2013-06-05 04:52:13 +08:00
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
http://[1234:1234:1234::4ce]:%HTTPPORT/wanted/page/%TESTNUMBER -p -x %HOSTIP:%HTTPPORT
|
2013-06-05 04:52:13 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
CONNECT [1234:1234:1234::4ce]:%HTTPPORT HTTP/1.1
|
|
|
|
Host: [1234:1234:1234::4ce]:%HTTPPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2016-08-16 14:36:04 +08:00
|
|
|
Proxy-Connection: Keep-Alive
|
2013-06-05 04:52:13 +08:00
|
|
|
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /wanted/page/%TESTNUMBER HTTP/1.1
|
2013-06-23 04:12:49 +08:00
|
|
|
Host: [1234:1234:1234::4ce]:%HTTPPORT
|
2020-10-02 19:45:24 +08:00
|
|
|
User-Agent: curl/%VERSION
|
2013-06-05 04:52:13 +08:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|