xref: /aosp_15_r20/external/curl/tests/data/test1436 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerHTTP
5*6236dae4SAndroid Build Coastguard WorkerHTTP GET
6*6236dae4SAndroid Build Coastguard WorkerUnixSockets
7*6236dae4SAndroid Build Coastguard Worker</keywords>
8*6236dae4SAndroid Build Coastguard Worker</info>
9*6236dae4SAndroid Build Coastguard Worker
10*6236dae4SAndroid Build Coastguard Worker<reply>
11*6236dae4SAndroid Build Coastguard Worker<data1>
12*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
13*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 17 Nov 2014 13:42:47 GMT
14*6236dae4SAndroid Build Coastguard WorkerContent-Length: 6
15*6236dae4SAndroid Build Coastguard Worker
16*6236dae4SAndroid Build Coastguard WorkerFirst
17*6236dae4SAndroid Build Coastguard Worker</data1>
18*6236dae4SAndroid Build Coastguard Worker<data2>
19*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
20*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 17 Nov 2014 13:42:48 GMT
21*6236dae4SAndroid Build Coastguard WorkerContent-Length: 7
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard WorkerSecond
24*6236dae4SAndroid Build Coastguard Worker</data2>
25*6236dae4SAndroid Build Coastguard Worker<data3>
26*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
27*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 17 Nov 2014 13:42:49 GMT
28*6236dae4SAndroid Build Coastguard WorkerContent-Length: 6
29*6236dae4SAndroid Build Coastguard Worker
30*6236dae4SAndroid Build Coastguard WorkerThird
31*6236dae4SAndroid Build Coastguard Worker</data3>
32*6236dae4SAndroid Build Coastguard Worker</reply>
33*6236dae4SAndroid Build Coastguard Worker
34*6236dae4SAndroid Build Coastguard Worker<client>
35*6236dae4SAndroid Build Coastguard Worker<features>
36*6236dae4SAndroid Build Coastguard WorkerUnixSockets
37*6236dae4SAndroid Build Coastguard Worker</features>
38*6236dae4SAndroid Build Coastguard Worker<server>
39*6236dae4SAndroid Build Coastguard Workerhttp-unix
40*6236dae4SAndroid Build Coastguard Worker</server>
41*6236dae4SAndroid Build Coastguard Worker<name>
42*6236dae4SAndroid Build Coastguard WorkerHTTP requests with multiple connections over Unix socket
43*6236dae4SAndroid Build Coastguard Worker</name>
44*6236dae4SAndroid Build Coastguard Worker<command>
45*6236dae4SAndroid Build Coastguard Worker--unix-socket %HTTPUNIXPATH http://one.example.com/%TESTNUMBER0001 http://two.example.com/%TESTNUMBER0002 http://one.example.com/%TESTNUMBER0003
46*6236dae4SAndroid Build Coastguard Worker</command>
47*6236dae4SAndroid Build Coastguard Worker</client>
48*6236dae4SAndroid Build Coastguard Worker
49*6236dae4SAndroid Build Coastguard Worker<verify>
50*6236dae4SAndroid Build Coastguard Worker<protocol>
51*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER0001 HTTP/1.1
52*6236dae4SAndroid Build Coastguard WorkerHost: one.example.com
53*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION
54*6236dae4SAndroid Build Coastguard WorkerAccept: */*
55*6236dae4SAndroid Build Coastguard Worker
56*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER0002 HTTP/1.1
57*6236dae4SAndroid Build Coastguard WorkerHost: two.example.com
58*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION
59*6236dae4SAndroid Build Coastguard WorkerAccept: */*
60*6236dae4SAndroid Build Coastguard Worker
61*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER0003 HTTP/1.1
62*6236dae4SAndroid Build Coastguard WorkerHost: one.example.com
63*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION
64*6236dae4SAndroid Build Coastguard WorkerAccept: */*
65*6236dae4SAndroid Build Coastguard Worker
66*6236dae4SAndroid Build Coastguard Worker</protocol>
67*6236dae4SAndroid Build Coastguard Worker<stdout>
68*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
69*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 17 Nov 2014 13:42:47 GMT
70*6236dae4SAndroid Build Coastguard WorkerContent-Length: 6
71*6236dae4SAndroid Build Coastguard Worker
72*6236dae4SAndroid Build Coastguard WorkerFirst
73*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
74*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 17 Nov 2014 13:42:48 GMT
75*6236dae4SAndroid Build Coastguard WorkerContent-Length: 7
76*6236dae4SAndroid Build Coastguard Worker
77*6236dae4SAndroid Build Coastguard WorkerSecond
78*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
79*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 17 Nov 2014 13:42:49 GMT
80*6236dae4SAndroid Build Coastguard WorkerContent-Length: 6
81*6236dae4SAndroid Build Coastguard Worker
82*6236dae4SAndroid Build Coastguard WorkerThird
83*6236dae4SAndroid Build Coastguard Worker</stdout>
84*6236dae4SAndroid Build Coastguard Worker</verify>
85*6236dae4SAndroid Build Coastguard Worker</testcase>
86