From: Amos Jeffries Date: Wed, 24 Sep 2008 13:21:04 +0000 (+1200) Subject: Bug 2433: Ftp put gives bad gateway but put is correct X-Git-Tag: SQUID_3_1_0_1~49^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9ac241b2eee022d3f4507d6cb7eeb94f3904040;p=thirdparty%2Fsquid.git Bug 2433: Ftp put gives bad gateway but put is correct --- diff --git a/src/ftp.cc b/src/ftp.cc index 05271a843f..e9463d734b 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -3805,7 +3805,11 @@ void FtpStateData::doneSendingRequestBody() { debugs(9,3, HERE); - ftpWriteTransferDone(this); + dataComplete(); +/* NP: RFC 959 3.3. DATA CONNECTION MANAGEMENT + * if transfer type is 'stream' call dataComplete() + * otherwise leave open. (reschedule control channel read?) + */ } /**