borg-0300 19 years ago
parent f16f1f15cd
commit 3fe402069f

@ -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() + "'");

Loading…
Cancel
Save