File tree 2 files changed +65
-1
lines changed
2 files changed +65
-1
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ test1432 test1433 test1434 test1435 test1436 test1437 test1438 test1439 \
186
186
test1440 test1441 test1442 test1443 test1444 test1445 test1446 test1447 \
187
187
test1448 test1449 test1450 test1451 test1452 test1453 test1454 test1455 \
188
188
test1456 test1457 test1458 test1459 test1460 test1461 test1462 test1463 \
189
- test1464 test1465 test1466 test1467 test1468 test1469 \
189
+ test1464 test1465 test1466 test1467 test1468 test1469 test1470 \
190
190
\
191
191
test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \
192
192
test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \
Original file line number Diff line number Diff line change
1
+ <testcase>
2
+ <info>
3
+ <keywords>
4
+ HTTPS
5
+ HTTP
6
+ HTTP GET
7
+ SOCKS5
8
+ SOCKS5h
9
+ </keywords>
10
+ </info>
11
+
12
+ #
13
+ # Server-side
14
+ <reply>
15
+ <data>
16
+ HTTP/1.1 200 OK
17
+ Date: Tue, 09 Nov 2010 14:49:00 GMT
18
+ Server: test-server/fake
19
+ Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
20
+ ETag: "21025-dc7-39462498"
21
+ Accept-Ranges: bytes
22
+ Content-Length: 6
23
+ Connection: close
24
+ Content-Type: text/html
25
+ Funny-head: yesyes
26
+
27
+ -foo-
28
+ </data>
29
+ </reply>
30
+
31
+ #
32
+ # Client-side
33
+ <client>
34
+ <features>
35
+ proxy
36
+ unix-sockets
37
+ </features>
38
+ <server>
39
+ https
40
+ socks5unix
41
+ </server>
42
+ <name>
43
+ HTTPS GET with host name using SOCKS5h via unix sockets
44
+ </name>
45
+ <command>
46
+ https://this.is.a.host.name:%HTTPSPORT/%TESTNUMBER -k --proxy socks5h://localhost%SOCKSUNIXPATH
47
+ </command>
48
+ </client>
49
+
50
+ #
51
+ # Verify data after the test has been "shot"
52
+ <verify>
53
+ <protocol>
54
+ GET /%TESTNUMBER HTTP/1.1
55
+ Host: this.is.a.host.name:%HTTPSPORT
56
+ User-Agent: curl/%VERSION
57
+ Accept: */*
58
+
59
+ </protocol>
60
+ <socks>
61
+ atyp 3 => this.is.a.host.name
62
+ </socks>
63
+ </verify>
64
+ </testcase>
You can’t perform that action at this time.
0 commit comments