ftp tests: libcurl returns CURLE_FTP_ACCEPT_FAILED better now
authorDaniel Stenberg <daniel@haxx.se>
Sat, 6 Apr 2013 15:49:58 +0000 (17:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 6 Apr 2013 15:51:03 +0000 (17:51 +0200)
Since commit 57aeabcc1a20f, it handles errors on the control connection
while waiting for the data connection better.

Test 591 and 592 are updated accordingly.

tests/data/test591
tests/data/test592

index 42a2271..1455a38 100644 (file)
@@ -63,9 +63,9 @@ TYPE I
 STOR 591\r
 QUIT\r
 </protocol>
-# CURLE_UPLOAD_FAILED = 25
+# CURLE_FTP_ACCEPT_FAILED = 10
 <errorcode>
-25
+10
 </errorcode>
 <upload>
 </upload>
index 23aa6c4..f443205 100644 (file)
@@ -62,10 +62,11 @@ EPRT |1|
 PORT
 TYPE I\r
 STOR 592\r
+QUIT\r
 </protocol>
-# 28 == CURLE_OPERATION_TIMEDOUT
+# CURLE_FTP_ACCEPT_FAILED = 10
 <errorcode>
-28
+10
 </errorcode>
 <upload>
 </upload>