From: Alex Rousskov Date: Mon, 28 Oct 2013 21:23:33 +0000 (-0600) Subject: End "227 Entering Passive Mode (...)" response with CRLF as required by FTP. X-Git-Tag: SQUID_3_5_0_1~117^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d870886ca9593d370ab493f0d85a61e88c6325d;p=thirdparty%2Fsquid.git End "227 Entering Passive Mode (...)" response with CRLF as required by FTP. --- diff --git a/src/client_side.cc b/src/client_side.cc index 96a2f39fc7..2f4a6dfca1 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -5289,7 +5289,7 @@ FtpHandlePasvReply(ClientSocketContext *context, const HttpReply *reply, StoreIO // Do not use "227 =a,b,c,d,p1,p2" format or omit parens: some nf_ct_ftp // versions block responses that use those alternative syntax rules! - mb.Printf("227 Entering Passive Mode (%s,%i,%i).\n", + mb.Printf("227 Entering Passive Mode (%s,%i,%i).\r\n", addr, static_cast(port / 256), static_cast(port % 256));