aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-10-27 10:54:35 +0200
committerKamil Dudka <kdudka@redhat.com>2010-10-29 12:01:19 +0200
commit0c8e5f7e6ac13c43b8cbab8dcada56d3f27a2a89 (patch)
treedb7f789140e4443b2120ff5d1848b9ee8c8f546e /tests/data
parent59db31902c87dc321d8747eae49ac7f996afa204 (diff)
ftp: prevent server from hanging on closed data connection
Some FTP servers (e.g. Pure-ftpd) end up hanging if we close the data connection before transferring all the requested data. If we send ABOR in that case, it prevents the server from hanging. Bug: https://bugzilla.redhat.com/643656 Reported by: Pasi Karkkainen, Patrick Monnerat
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test10361
-rw-r--r--tests/data/test10571
-rw-r--r--tests/data/test1101
-rw-r--r--tests/data/test1221
-rw-r--r--tests/data/test1351
5 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/test1036 b/tests/data/test1036
index b8ebc4fc0..a31cb458a 100644
--- a/tests/data/test1036
+++ b/tests/data/test1036
@@ -50,6 +50,7 @@ TYPE I
SIZE 1036
REST 20
RETR 1036
+ABOR
QUIT
</protocol>
<file name="log/curl1036.out">
diff --git a/tests/data/test1057 b/tests/data/test1057
index cfb88f2c5..b4ef20c8d 100644
--- a/tests/data/test1057
+++ b/tests/data/test1057
@@ -45,6 +45,7 @@ TYPE I
SIZE 1057
REST 52
RETR 1057
+ABOR
QUIT
</protocol>
</verify>
diff --git a/tests/data/test110 b/tests/data/test110
index b63ba8a2d..4a094e7e8 100644
--- a/tests/data/test110
+++ b/tests/data/test110
@@ -46,6 +46,7 @@ TYPE I
SIZE 110
REST 20
RETR 110
+ABOR
QUIT
</protocol>
</verify>
diff --git a/tests/data/test122 b/tests/data/test122
index fb1dd05fc..ac60672bb 100644
--- a/tests/data/test122
+++ b/tests/data/test122
@@ -39,6 +39,7 @@ EPSV
PASV
TYPE I
SIZE 122
+ABOR
QUIT
</protocol>
</verify>
diff --git a/tests/data/test135 b/tests/data/test135
index a051dba20..10eb0eacd 100644
--- a/tests/data/test135
+++ b/tests/data/test135
@@ -47,6 +47,7 @@ TYPE I
SIZE 135
REST 4
RETR 135
+ABOR
QUIT
</protocol>
</verify>