From: Amos Jeffries Date: Mon, 20 Feb 2017 05:02:45 +0000 (+1300) Subject: Fix missing CRLF on FTP timeout ABORT commands X-Git-Tag: SQUID_4_0_19~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e20bfa8f5128ef0cb3ce277d6f08198a2996b07;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);