]> granicus.if.org Git - curl/commitdiff
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 42a227112624e4ee9b90ea1094e214b78fb0cc69..1455a38e1ed240389190327367e49efaada65793 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 23aa6c465dd51bb973d64770d1ba9fbb55c9ea2b..f44320577be0e38a566db844adb4d0170536b5fc 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>