From 2903a5c0500210f0a3934352fe29217b2b8e1dbf Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 6 Nov 2008 00:13:18 +0000 Subject: Added test 1086 to test a timeout the occurs during an FTP data transfer. --- tests/data/test1086 | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 tests/data/test1086 (limited to 'tests/data/test1086') diff --git a/tests/data/test1086 b/tests/data/test1086 new file mode 100644 index 000000000..2066d2792 --- /dev/null +++ b/tests/data/test1086 @@ -0,0 +1,77 @@ + + + +FTP +EPSV +RETR +timeout +FAILURE + + + +# Server-side + + +SLOWDOWN + + +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. +Long chunk of data that couldn't possibly be sent in the time allotted. + + + +# Client-side + + +ftp + + +ftp + + +FTP download with strict timeout and slow data transfer + + +ftp://%HOSTIP:%FTPPORT/1086 -m 6 + + + +# Verify data after the test has been "shot" + +# 28 is CURLE_OPERATION_TIMEDOUT + +28 + + +USER anonymous +PASS ftp@example.com +PWD +EPSV +TYPE I +SIZE 1086 +RETR 1086 + + + -- cgit v1.2.3