~ubuntu-branches/ubuntu/vivid/curl/vivid-updates

« back to all changes in this revision

Viewing changes to tests/data/test1516

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-04-30 13:34:14 UTC
  • mfrom: (76.1.1 utopic)
  • Revision ID: package-import@ubuntu.com-20140430133414-lal4vsnldlvsue7n
* Merge from Debian unstable.  Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.

Show diffs side-by-side

added added

removed removed

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