Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
a2b2d4cd
Commit
a2b2d4cd
authored
21 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
added test 79, a basic test that fetches an FTP URL over a HTTP proxy
parent
96e217b4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/data/Makefile.am
+1
-1
1 addition, 1 deletion
tests/data/Makefile.am
tests/data/test46
+5
-1
5 additions, 1 deletion
tests/data/test46
tests/data/test79
+42
-0
42 additions, 0 deletions
tests/data/test79
with
48 additions
and
2 deletions
tests/data/Makefile.am
+
1
−
1
View file @
a2b2d4cd
...
...
@@ -22,4 +22,4 @@ test500 test501 test502 test503 test504 test136 test57 test137 test138 \
test58 test139 test140 test141 test59 test60 test61 test142 test143
\
test62 test63 test64 test65 test66 test144 test145 test67 test68 test41
\
test40 test42 test69 test70 test71 test72 test73 test146 test505
\
test74 test75 test76 test77 test78 test147 test148 test506
test74 test75 test76 test77 test78 test147 test148 test506
test79
This diff is collapsed.
Click to expand it.
tests/data/test46
+
5
−
1
View file @
a2b2d4cd
...
...
@@ -8,6 +8,7 @@ Content-Type: text/html
Set-Cookie: ckyPersistent=permanent; expires=Tue, 01-Jan-2010 05:00:00 GMT; path=/
Set-Cookie: ckySession=temporary; path=/
Set-Cookie: ASPSESSIONIDQGGQQSJJ=GKNBDIFAAOFDPDAIEAKDIBKE; path=/
Set-Cookie: justaname=; path=/;
Cache-control: private
Content-Length: 62
...
...
@@ -34,6 +35,7 @@ HTTP, get cookies and store in cookie jar
www.fake.come FALSE / FALSE 1022144953 cookiecliente si
www.loser.com FALSE / FALSE 1139150993 UID 99
127.0.0.1 FALSE / FALSE 1139150993 mooo indeed
127.0.0.1 FALSE / FALSE 0 empty
</file>
</client>
...
...
@@ -47,7 +49,7 @@ GET /want/46 HTTP/1.1
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Cookie: mooo=indeed
Cookie:
empty=;
mooo=indeed
</protocol>
<file name="log/jar46">
...
...
@@ -58,8 +60,10 @@ Cookie: mooo=indeed
www.fake.come FALSE / FALSE 1022144953 cookiecliente si
www.loser.com FALSE / FALSE 1139150993 UID 99
127.0.0.1 FALSE / FALSE 1139150993 mooo indeed
127.0.0.1 FALSE / FALSE 0 empty
127.0.0.1 FALSE / FALSE 1262322000 ckyPersistent permanent
127.0.0.1 FALSE / FALSE 0 ckySession temporary
127.0.0.1 FALSE / FALSE 0 ASPSESSIONIDQGGQQSJJ GKNBDIFAAOFDPDAIEAKDIBKE
127.0.0.1 FALSE / FALSE 0 justaname
</file>
</verify>
This diff is collapsed.
Click to expand it.
tests/data/test79
0 → 100644
+
42
−
0
View file @
a2b2d4cd
#
# Server-side
<reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
contents
</data>
</reply>
#
# Client-side
<client>
<server>
http
</server>
<name>
FTP over HTTP proxy
</name>
<command>
ftp://%HOSTIP:%HOSTPORT/we/want/that/page/79 -x %HOSTIP:%HOSTPORT
</command>
</test>
#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
GET ftp://127.0.0.1:8999/we/want/that/page/79 HTTP/1.1
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
</protocol>
</verify>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment