]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2433: Ftp put gives bad gateway but put is correct
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 24 Sep 2008 13:21:04 +0000 (01:21 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 24 Sep 2008 13:21:04 +0000 (01:21 +1200)
src/ftp.cc

index 05271a843f942a1eac78d287dce6e8655ad38b32..e9463d734b4d7e2075f4abe514938b81dd49ea1c 100644 (file)
@@ -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?)
+ */
 }
 
 /**