Skip to content

Commit

Permalink
try to fix path too long
Browse files Browse the repository at this point in the history
  • Loading branch information
borg-0300 committed Mar 15, 2006
1 parent a6a3f4b commit ec21c58
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/de/anomic/plasma/plasmaCrawlWorker.java
Expand Up @@ -366,7 +366,14 @@ private static plasmaHTCache.Entry load(
cacheManager.cachePath.getAbsolutePath() + "').");
return null;
}


if (htCache.cacheFile.getAbsolutePath().length() > 255) {
remote.close();
log.logInfo("REJECTED URL " + url.toString() + " because path too long '" +
cacheManager.cachePath.getAbsolutePath() + "'");
return (htCache = null);
}

// request has been placed and result has been returned. work off response
File cacheFile = cacheManager.getCachePath(url);
try {
Expand Down

0 comments on commit ec21c58

Please sign in to comment.