From: Dan Fandrich Date: Thu, 13 Nov 2008 01:45:59 +0000 (+0000) Subject: Shortened some FTP responses to allow the timeout to be reduced by a second X-Git-Tag: curl-7_19_2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f063c62de80d755b7b59968c356f8c5fcb0017;p=thirdparty%2Fcurl.git Shortened some FTP responses to allow the timeout to be reduced by a second while still causing a timeout during the data phase. --- diff --git a/tests/data/test1086 b/tests/data/test1086 index 1832a305df..be388a3400 100644 --- a/tests/data/test1086 +++ b/tests/data/test1086 @@ -11,8 +11,14 @@ FAILURE # Server-side +# Overload some standard FTP responses to make them shorter and faster +# to avoid wasting time waiting for the data phase to start SLOWDOWN +REPLY USER 331 OK +REPLY PASS 230 OK +REPLY PWD 257 "/" +REPLY TYPE 200 OK Long chunk of data that couldn't possibly be sent in the time allotted. @@ -54,7 +60,7 @@ ftp FTP download with strict timeout and slow data transfer -ftp://%HOSTIP:%FTPPORT/1086 -m 7 +ftp://%HOSTIP:%FTPPORT/1086 -m 6