~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to tests/data/test1059

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-04-29 11:10:29 UTC
  • mfrom: (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090429111029-2j5eiyokfw2bw049
Tags: 7.19.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* drop debian/patches/security_CVE-2009-0037.patch 
  - this patch is part of 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
HTTP CONNECT
 
6
proxytunnel
 
7
FTP
 
8
FAILURE
 
9
</keywords>
 
10
 
 
11
</info>
 
12
#
 
13
# Server-side
 
14
<reply>
 
15
<data>
 
16
HTTP/1.1 501 Method not implemented swsclose
 
17
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
18
Connection: close
 
19
Content-Length: 0
 
20
 
 
21
</data>
 
22
</reply>
 
23
 
 
24
#
 
25
# Client-side
 
26
<client>
 
27
<features>
 
28
ftp
 
29
</features>
 
30
<server>
 
31
http
 
32
</server>
 
33
 <name>
 
34
HTTP CONNECT with proxytunnel to unsupported FTP URL
 
35
 </name>
 
36
 <command>
 
37
ftp://test-number:1059/wanted/page -p -x %HOSTIP:%HTTPPORT
 
38
</command>
 
39
</client>
 
40
 
 
41
#
 
42
# Verify data after the test has been "shot"
 
43
<verify>
 
44
# The server doesn't implement CONNECT for ftp, so this must be a failure test
 
45
<errorcode>
 
46
56
 
47
</errorcode>
 
48
<strip>
 
49
^User-Agent:.*
 
50
</strip>
 
51
<protocol>
 
52
CONNECT test-number:1059 HTTP/1.1
 
53
Host: test-number:1059
 
54
Proxy-Connection: Keep-Alive
 
55
 
 
56
</protocol>
 
57
</verify>
 
58
</testcase>