From: wessels <> Date: Fri, 20 Jun 1997 08:22:11 +0000 (+0000) Subject: in ftpAbort, close the descriptors instead of trying to send QUIT X-Git-Tag: SQUID_3_0_PRE1~4922 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b2cdd7bad4618c37b53946aa42cc9c9f5002a34;p=thirdparty%2Fsquid.git in ftpAbort, close the descriptors instead of trying to send QUIT --- diff --git a/src/ftp.cc b/src/ftp.cc index 359db7477d..329791b09c 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.126 1997/06/20 00:00:12 wessels Exp $ + * $Id: ftp.cc,v 1.127 1997/06/20 02:22:11 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -1480,5 +1480,7 @@ ftpAbort(void *data) { FtpStateData *ftpState = data; debug(9, 1) ("ftpAbort: %s\n", ftpState->entry->url); - ftpDataTransferDone(ftpState); + if (ftpState->data.fd >= 0) + comm_close(ftpState->data.fd); + comm_close(ftpState->ctrl.fd); }