projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 7.59.0
[platform/upstream/curl.git]
/
tests
/
data
/
test1120
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
PORT
6
RETR
7
421
8
</keywords>
9
</info>
10
# Server-side
11
<reply>
12
<servercmd>
13
REPLY CWD 421 Timeout!
14
</servercmd>
15
</reply>
16
17
# Client-side
18
<client>
19
<server>
20
ftp
21
</server>
22
<name>
23
FTP with 421 timeout response
24
</name>
25
<command>
26
ftp://%HOSTIP:%FTPPORT/a/path/1120
27
</command>
28
</client>
29
30
# Verify data after the test has been "shot"
31
<verify>
32
# Strip all valid kinds of PORT and EPRT that curl can send
33
<protocol>
34
USER anonymous
35
PASS ftp@example.com
36
PWD
37
CWD a
38
</protocol>
39
# CURLE_OPERATION_TIMEDOUT is 28
40
<errorcode>
41
28
42
</errorcode>
43
</verify>
44
</testcase>