Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

try to fix see: http://www.yacy-forum.de/viewtopic.php?p=19175#19175

borg-03003fe402069f05
diff --git a/source/de/anomic/plasma/plasmaCrawlWorker.java b/source/de/anomic/plasma/plasmaCrawlWorker.java
index 80ed6851a..860fa761c 100644
--- a/source/de/anomic/plasma/plasmaCrawlWorker.java
+++ b/source/de/anomic/plasma/plasmaCrawlWorker.java
@@ -58,7 +58,6 @@ import de.anomic.http.httpHeader;
import de.anomic.http.httpRemoteProxyConfig;
import de.anomic.http.httpc;
import de.anomic.http.httpdProxyHandler;
-import de.anomic.plasma.plasmaHTCache.Entry;
import de.anomic.server.logging.serverLog;
import de.anomic.tools.bitfield;
import de.anomic.yacy.yacyCore;
@@ -357,7 +356,7 @@ public final class plasmaCrawlWorker extends Thread {
// TODO: aborting download if content is to long ...
//long contentLength = res.responseHeader.contentLength();
- if (htCache.cacheFile.getAbsolutePath().length() > Entry.MAXPATHLENGTH) {
+ if (htCache.cacheFile.getAbsolutePath().length() > htCache.MAXPATHLENGTH) {
remote.close();
log.logInfo("REJECTED URL " + url.toString() + " because path too long '" +
cacheManager.cachePath.getAbsolutePath() + "'");