From: Amos Jeffries Date: Sun, 26 Feb 2017 08:50:09 +0000 (+1300) Subject: Fix missing CRLF on FTP timeout ABORT commands X-Git-Tag: SQUID_3_5_25~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5239669dc915d4db51076a9d67d997d244d0f866;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 bb31d2d5dd..6045cc7d6e 100644 --- a/src/clients/FtpGateway.cc +++ b/src/clients/FtpGateway.cc @@ -1775,7 +1775,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);