From 0e20bfa8f5128ef0cb3ce277d6f08198a2996b07 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 20 Feb 2017 18:02:45 +1300 Subject: [PATCH] Fix missing CRLF on FTP timeout ABORT commands --- src/clients/FtpGateway.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clients/FtpGateway.cc b/src/clients/FtpGateway.cc index aa3f2e9b0d..03ad932d9b 100644 --- a/src/clients/FtpGateway.cc +++ b/src/clients/FtpGateway.cc @@ -1744,7 +1744,7 @@ Ftp::Gateway::dataChannelConnected(const CommConnectCbParams &io) // ABORT on timeouts. server may be waiting on a broken TCP link. if (io.xerrno == Comm::TIMEOUT) - writeCommand("ABOR"); + writeCommand("ABOR\r\n"); // try another connection attempt with some other method ftpSendPassive(this); -- 2.47.3