From ac54d27d4bdbd49332cf3914fc726c24c155cbf7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 25 Nov 2011 22:38:13 +0100 Subject: FTP tests 1206 - 1209: don't expect QUIT The protocol parts for these tests do not include QUIT simply because the error is CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without specificly saying for which connection it concerns, and for timeouts libcurl marks the control channel as "invalid". As this test case times out for the data connection it could still use the control channel. --- tests/data/test1206 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/data/test1206') diff --git a/tests/data/test1206 b/tests/data/test1206 index 862c4bdf4..ba578a1e2 100644 --- a/tests/data/test1206 +++ b/tests/data/test1206 @@ -36,6 +36,12 @@ FTP PORT and 425 on download s/^EPRT \|1\|(.*)/EPRT \|1\|/ + +# The protocol part does not include QUIT simply because the error is +# CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without +# specificly saying for which connection it concerns, and for timeouts libcurl +# marks the control channel as "invalid". As this test case times out for the +# data connection it could still use the control channel. USER anonymous PASS ftp@example.com @@ -44,10 +50,9 @@ EPRT |1| TYPE I SIZE 1206 RETR 1206 -QUIT -19 +28 -- cgit v1.2.3