]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
remove XXX comments from PeerConnector related to Downloader: they are not valid...
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 15 Jul 2016 13:28:48 +0000 (16:28 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 15 Jul 2016 13:28:48 +0000 (16:28 +0300)
src/ssl/PeerConnector.cc

index 7efdc25aced065a24d2b67265d5cfee4880436f0..65bc422fe4e9b6347dddd387d6f5a3ddc491b36b 100644 (file)
@@ -541,7 +541,6 @@ Ssl::PeerConnector::startCertDownloading(SBuf &url)
                                             "Ssl::PeerConnector::certDownloadingDone",
                                             PeerConnectorCertDownloaderDialer(&Ssl::PeerConnector::certDownloadingDone, this));
 
-    // XXX: find a way to link HttpRequest and Downloader, the following always fails.
     const Downloader *csd = dynamic_cast<const Downloader*>(request->downloader.valid());
     Downloader *dl = new Downloader(url, certCallback, csd ? csd->nestedLevel() + 1 : 1);
     AsyncJob::Start(dl);
@@ -590,8 +589,6 @@ Ssl::PeerConnector::checkForMissingCertificates()
     // certificate located in an SSL site which requires to download a
     // a missing certificate (... from an SSL site which requires to ...).
 
-    // XXX: find a way to link HttpRequest with Downloader.
-    // The following always fails:
     const Downloader *csd = request->downloader.get();
     if (csd && csd->nestedLevel() >= MaxNestedDownloads)
         return false;