592
593
594
-1206
-1207
-1208
-1209
<strippart>
s/^EPRT \|1\|(.*)/EPRT \|1\|/
</strippart>
+
+# 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.
<protocol>
USER anonymous\r
PASS ftp@example.com\r
TYPE I\r
SIZE 1206\r
RETR 1206\r
-QUIT\r
</protocol>
<errorcode>
-19
+28
</errorcode>
</verify>
</testcase>
<strippart>
s/^EPRT \|1\|(.*)/EPRT \|1\|/
</strippart>
+
+# 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.
<protocol>
USER anonymous\r
PASS ftp@example.com\r
TYPE I\r
SIZE 1207\r
RETR 1207\r
-QUIT\r
</protocol>
<errorcode>
-19
+28
</errorcode>
</verify>
</testcase>
<strippart>
s/^EPRT \|1\|(.*)/EPRT \|1\|/
</strippart>
+
+# 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.
<protocol>
USER anonymous\r
PASS ftp@example.com\r
TYPE I\r
SIZE 1208\r
RETR 1208\r
-QUIT\r
</protocol>
<errorcode>
-19
+28
</errorcode>
</verify>
</testcase>
<strippart>
s/^EPRT \|1\|(.*)/EPRT \|1\|/
</strippart>
+
+# 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.
<protocol>
USER anonymous\r
PASS ftp@example.com\r
TYPE I\r
SIZE 1209\r
RETR 1209\r
-QUIT\r
</protocol>
<errorcode>
-19
+28
</errorcode>
</verify>
</testcase>