xref: /aosp_15_r20/external/curl/tests/data/test1516 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker
3*6236dae4SAndroid Build Coastguard Worker<info>
4*6236dae4SAndroid Build Coastguard Worker<keywords>
5*6236dae4SAndroid Build Coastguard WorkerHTTP
6*6236dae4SAndroid Build Coastguard Workermulti
7*6236dae4SAndroid Build Coastguard WorkerFAILURE
8*6236dae4SAndroid Build Coastguard Workerresolve
9*6236dae4SAndroid Build Coastguard Worker</keywords>
10*6236dae4SAndroid Build Coastguard Worker</info>
11*6236dae4SAndroid Build Coastguard Worker
12*6236dae4SAndroid Build Coastguard Worker<reply>
13*6236dae4SAndroid Build Coastguard Worker# Close the connection after the first request but don't tell the client to do
14*6236dae4SAndroid Build Coastguard Worker# so! When starting the second request it'll detect a dead connection and must
15*6236dae4SAndroid Build Coastguard Worker# not clean the DNS entries added manually.
16*6236dae4SAndroid Build Coastguard Worker<data1>
17*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
18*6236dae4SAndroid Build Coastguard WorkerDate: Thu, 03 Feb 2014 17:04:00 GMT
19*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake swsclose
20*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html
21*6236dae4SAndroid Build Coastguard WorkerContent-Length: 6
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard Workerhello
24*6236dae4SAndroid Build Coastguard Worker</data1>
25*6236dae4SAndroid Build Coastguard Worker<data2>
26*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
27*6236dae4SAndroid Build Coastguard WorkerDate: Thu, 03 Feb 2014 17:04:02 GMT
28*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake swsclose
29*6236dae4SAndroid Build Coastguard WorkerConnection: close
30*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html
31*6236dae4SAndroid Build Coastguard WorkerContent-Length: 6
32*6236dae4SAndroid Build Coastguard Worker
33*6236dae4SAndroid Build Coastguard Workerhello
34*6236dae4SAndroid Build Coastguard Worker</data2>
35*6236dae4SAndroid Build Coastguard Worker</reply>
36*6236dae4SAndroid Build Coastguard Worker
37*6236dae4SAndroid Build Coastguard Worker<client>
38*6236dae4SAndroid Build Coastguard Worker<server>
39*6236dae4SAndroid Build Coastguard Workerhttp
40*6236dae4SAndroid Build Coastguard Worker</server>
41*6236dae4SAndroid Build Coastguard Worker<tool>
42*6236dae4SAndroid Build Coastguard Workerlib1515
43*6236dae4SAndroid Build Coastguard Worker</tool>
44*6236dae4SAndroid Build Coastguard Worker<name>
45*6236dae4SAndroid Build Coastguard Workercaching of manual libcurl DNS entries after dead connection
46*6236dae4SAndroid Build Coastguard Worker</name>
47*6236dae4SAndroid Build Coastguard Worker<command>
48*6236dae4SAndroid Build Coastguard Worker/path/%TESTNUMBER %HOSTIP %HTTPPORT
49*6236dae4SAndroid Build Coastguard Worker</command>
50*6236dae4SAndroid Build Coastguard Worker</client>
51*6236dae4SAndroid Build Coastguard Worker
52*6236dae4SAndroid Build Coastguard Worker<verify>
53*6236dae4SAndroid Build Coastguard Worker<errorcode>
54*6236dae4SAndroid Build Coastguard Worker0
55*6236dae4SAndroid Build Coastguard Worker</errorcode>
56*6236dae4SAndroid Build Coastguard Worker</verify>
57*6236dae4SAndroid Build Coastguard Worker
58*6236dae4SAndroid Build Coastguard Worker</testcase>
59