]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed an old cache cleanup which is no longer needed. It removed
authorhno <>
Sat, 6 Jan 2001 03:40:52 +0000 (03:40 +0000)
committerhno <>
Sat, 6 Jan 2001 03:40:52 +0000 (03:40 +0000)
ftp://user@host/.. entries that erronously got cached by Squid-2.0.

src/ftp.cc

index f3eae2fbfb77d8408a54a3ec33eef61311819795..7e19196cdaf41e1d2e2a23b3b3c4c78cd7183c73 100644 (file)
@@ -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);