Fixed loadFromCache with strategy IFFRESH.

This fixes mantis 695 ( http://mantis.tokeek.de/view.php?id=695 ) :
crawl start with 'Link-List of URL' option on websites using cookies.
pull/91/head
luccioman 8 years ago
parent c778219768
commit 242707f9b4

@ -331,6 +331,8 @@ public final class LoaderDispatcher {
}
}
LoaderDispatcher.log.info("cache hit/stale for: " + url.toNormalform(true));
/* Cached content can not be used : we return a null response to ensure callers will detect no cache response is available */
response = null;
} else if (cachedResponse != null) {
LoaderDispatcher.log.warn("HTCACHE contained response header, but not content for url " + url.toNormalform(true));
}

Loading…
Cancel
Save