From d28411c3cc5854a5c1665e14eee131a25ad420fb Mon Sep 17 00:00:00 2001 From: gsengun Date: Sat, 7 Jan 2012 23:13:57 +0200 Subject: FTP: CURLE_PARTIAL_FILE should not cause control connection to be closed Test 161 updated accordingly --- tests/data/test161 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests/data') diff --git a/tests/data/test161 b/tests/data/test161 index bc6820ce1..045835998 100644 --- a/tests/data/test161 +++ b/tests/data/test161 @@ -1,5 +1,12 @@ -# Server-side + + +FTP +CURLE_PARTIAL_FILE +RETR +PASV + + 1oooooooooooooooooooooooooooooooooooooooooo2 @@ -25,6 +32,8 @@ ftp://%HOSTIP:%FTPPORT/161 # Verify data after the test has been "shot" +# This gets QUIT sent because CURLE_PARTIAL_FILE does NOT mark the control +# connection as bad USER anonymous PASS ftp@example.com @@ -33,6 +42,7 @@ EPSV TYPE I SIZE 161 RETR 161 +QUIT 18 -- cgit v1.2.3