xref: /aosp_15_r20/external/curl/tests/data/test1515 (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. Second request will happen after
14*6236dae4SAndroid Build Coastguard Worker# the DNS cache timeout elapses and must succeed exactly like the first one.
15*6236dae4SAndroid Build Coastguard Worker<data1>
16*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 OK
17*6236dae4SAndroid Build Coastguard WorkerDate: Thu, 03 Feb 2014 17:04:00 GMT
18*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake swsclose
19*6236dae4SAndroid Build Coastguard WorkerConnection: close
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<datacheck>
36*6236dae4SAndroid Build Coastguard Workerhello
37*6236dae4SAndroid Build Coastguard Workerhello
38*6236dae4SAndroid Build Coastguard Worker</datacheck>
39*6236dae4SAndroid Build Coastguard Worker</reply>
40*6236dae4SAndroid Build Coastguard Worker
41*6236dae4SAndroid Build Coastguard Worker<client>
42*6236dae4SAndroid Build Coastguard Worker<server>
43*6236dae4SAndroid Build Coastguard Workerhttp
44*6236dae4SAndroid Build Coastguard Worker</server>
45*6236dae4SAndroid Build Coastguard Worker<tool>
46*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER
47*6236dae4SAndroid Build Coastguard Worker</tool>
48*6236dae4SAndroid Build Coastguard Worker<name>
49*6236dae4SAndroid Build Coastguard Workercaching of manual libcurl DNS entries after DNS cache timeout
50*6236dae4SAndroid Build Coastguard Worker</name>
51*6236dae4SAndroid Build Coastguard Worker<command>
52*6236dae4SAndroid Build Coastguard Workerpath/%TESTNUMBER %HOSTIP %HTTPPORT
53*6236dae4SAndroid Build Coastguard Worker</command>
54*6236dae4SAndroid Build Coastguard Worker</client>
55*6236dae4SAndroid Build Coastguard Worker
56*6236dae4SAndroid Build Coastguard Worker<verify>
57*6236dae4SAndroid Build Coastguard Worker<errorcode>
58*6236dae4SAndroid Build Coastguard Worker0
59*6236dae4SAndroid Build Coastguard Worker</errorcode>
60*6236dae4SAndroid Build Coastguard Worker</verify>
61*6236dae4SAndroid Build Coastguard Worker
62*6236dae4SAndroid Build Coastguard Worker</testcase>
63