From: hno <> Date: Sat, 6 Jan 2001 03:40:52 +0000 (+0000) Subject: Removed an old cache cleanup which is no longer needed. It removed X-Git-Tag: SQUID_3_0_PRE1~1690 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=886795e1d2c6586a085d9ab54fc540c2290a770d;p=thirdparty%2Fsquid.git Removed an old cache cleanup which is no longer needed. It removed ftp://user@host/.. entries that erronously got cached by Squid-2.0. --- diff --git a/src/ftp.cc b/src/ftp.cc index f3eae2fbfb..7e19196cda 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.301 2001/01/05 09:51:37 adrian Exp $ + * $Id: ftp.cc,v 1.302 2001/01/05 20:40:52 hno Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -1078,10 +1078,6 @@ ftpStart(FwdState * fwd) snprintf(realm, 8192, "ftp %s port %d", ftpState->user, request->port); } - /* eject any old cached object */ - key = storeKeyPublic(entry->mem_obj->url, entry->mem_obj->method); - if ((pe = storeGet(key)) != NULL) - storeRelease(pe); /* create reply */ reply = entry->mem_obj->reply; assert(reply != NULL);