Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for remote crawl reject see http://www.yacy-forum.de/viewtopic.php?p=20075#20075
orbiter93244251656a
diff --git a/source/de/anomic/plasma/plasmaCrawlProfile.java b/source/de/anomic/plasma/plasmaCrawlProfile.javaindex eef9fc50a..21e711ea4 100644--- a/source/de/anomic/plasma/plasmaCrawlProfile.java+++ b/source/de/anomic/plasma/plasmaCrawlProfile.java@@ -346,24 +346,24 @@ public class plasmaCrawlProfile {// then the current url feeds with its domain the crawl filter// if this is -1, all domains are feededString r = (String) mem.get("domFilterDepth");- if (r == null) return 0; else try {+ if (r == null) return Integer.MAX_VALUE; else try {int i = Integer.parseInt(r);if (i < 0) return Integer.MAX_VALUE;return i;} catch (NumberFormatException e) {- return 0;+ return Integer.MAX_VALUE;}}public int domMaxPages() {// this is the maximum number of pages that are crawled for a single domain// if -1, this means no limitString r = (String) mem.get("domMaxPages");- if (r == null) return 0; else try {+ if (r == null) return Integer.MAX_VALUE; else try {int i = Integer.parseInt(r);if (i < 0) return Integer.MAX_VALUE;return i;} catch (NumberFormatException e) {- return 0;+ return Integer.MAX_VALUE;}}public boolean crawlingQ() {