From: Amos Jeffries Date: Sun, 12 Feb 2017 02:33:40 +0000 (+1300) Subject: Fix missing CRLF on FTP timeout ABORT commands X-Git-Tag: M-staged-PR71~275 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=662abee1dd35e6cbe48968baf9fa06d009a44693;p=thirdparty%2Fsquid.git Fix missing CRLF on FTP timeout ABORT commands --- 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);