From 0b20de019400edb864b4d649aabead85719350ea Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 10 Nov 2010 15:36:42 +0100 Subject: test1120: verify FTP response 421 curl mustn't try to use the control connection after the 421 is received --- tests/data/test1120 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/data/test1120 (limited to 'tests/data/test1120') diff --git a/tests/data/test1120 b/tests/data/test1120 new file mode 100644 index 000000000..ddec00a04 --- /dev/null +++ b/tests/data/test1120 @@ -0,0 +1,44 @@ + + + +FTP +PORT +RETR +421 + + +# Server-side + + +REPLY CWD 421 Timeout! + + + +# Client-side + + +ftp + + +FTP with 421 timeout response + + +ftp://%HOSTIP:%FTPPORT/a/path/1120 + + + +# Verify data after the test has been "shot" + +# Strip all valid kinds of PORT and EPRT that curl can send + +USER anonymous +PASS ftp@example.com +PWD +CWD a + +# CURLE_OPERATION_TIMEDOUT is 28 + +28 + + + -- cgit v1.2.3