chiark
/
gitweb
/
~ian
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Import curl_7.56.1.orig.tar.gz
[curl.git]
/
tests
/
data
/
test882
1
<testcase>
2
<info>
3
<keywords>
4
POP3
5
Clear Text
6
RETR
7
connection re-use
8
</keywords>
9
</info>
10
11
#
12
# Server-side
13
<reply>
14
<servercmd>
15
REPLY "PASS secret" +OK Login successful
\r
16
</servercmd>
17
<data>
18
From: me@somewhere
\r
19
To: fake@nowhere
\r
20
\r
21
body
\r
22
\r
23
--
\r
24
yours sincerely
\r
25
</data>
26
</reply>
27
28
#
29
# Client-side
30
<client>
31
<server>
32
pop3
33
</server>
34
<name>
35
POP3 multiple connection authentication
36
</name>
37
<command>
38
pop3://%HOSTIP:%POP3PORT/882001 -u user.one:secret -: pop3://%HOSTIP:%POP3PORT/882002 -u user.two:secret
39
</command>
40
</client>
41
42
#
43
# Verify data after the test has been "shot"
44
<verify>
45
<protocol>
46
CAPA
\r
47
USER user.one
\r
48
PASS secret
\r
49
RETR 882001
\r
50
QUIT
\r
51
CAPA
\r
52
USER user.two
\r
53
PASS secret
\r
54
RETR 882002
\r
55
QUIT
\r
56
</protocol>
57
</verify>
58
</testcase>