mirror of
https://github.com/curl/curl.git
synced 2026-04-28 10:32:13 +03:00
tests: 46, 265, 304, 316, 397, 443, 551, 552, 559, 651, 742, 775, 1003,
1005, 1006, 1008, 1062, 1070, 1086, 1112, 1151, 1160, 1178, 1192, 1193,
1205, 1237, 3207.
Total `test*` size reduction: 2,395,537 -> 2,165,631 bytes.
Follow-up to 55d4767876 #19279
Closes #19281
48 lines
673 B
Text
48 lines
673 B
Text
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
RETR
|
|
huge response
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
mooo
|
|
</data>
|
|
# a ~17000 bytes response string to CWD to make sure the ftp parser deals
|
|
# with it nicely
|
|
<servercmd>
|
|
REPLY CWD 250 C%repeat[16998 x A]%B
|
|
</servercmd>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP with excessively large server command response line
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
CWD path
|
|
EPSV
|
|
TYPE I
|
|
SIZE %TESTNUMBER
|
|
RETR %TESTNUMBER
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|