From 0c8e5f7e6ac13c43b8cbab8dcada56d3f27a2a89 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 27 Oct 2010 10:54:35 +0200 Subject: 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 --- tests/data/test1036 | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/data/test1036') 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 -- cgit v1.2.3