blob: 79f0275f03c3efc5d5460776e78eb48927b39c55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<testcase>
<info>
<keywords>
HTTP
multi
FAILURE
resolve
</keywords>
</info>
<reply>
# Close the connection after the first request but don't tell the client to do
# so! When starting the second request it'll detect a dead connection and must
# not clean the DNS entries added manually.
<data1>
HTTP/1.1 200 OK
Date: Thu, 03 Feb 2014 17:04:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Content-Length: 6
hello
</data1>
<data2>
HTTP/1.1 200 OK
Date: Thu, 03 Feb 2014 17:04:02 GMT
Server: test-server/fake swsclose
Connection: close
Content-Type: text/html
Content-Length: 6
hello
</data2>
</reply>
<client>
<server>
http
</server>
<tool>
lib1515
</tool>
<name>
caching of manual libcurl DNS entries after dead connection
</name>
<command>
/path/%TESTNUMBER %HOSTIP %HTTPPORT
</command>
</client>
<verify>
<errorcode>
0
</errorcode>
</verify>
</testcase>
|