Skip to content

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

*) Temporarily deactivating reverse name lookup for passive and potential yacy peers to avoid blocking requests when calling Connections_p.html See: http://www.yacy-forum.de/viewtopic.php?p=11271#11271

theli91e676744eba
diff --git a/htroot/Connections_p.java b/htroot/Connections_p.java
index f82d79e56..c15cdce9d 100644
--- a/htroot/Connections_p.java
+++ b/htroot/Connections_p.java
@@ -63,7 +63,6 @@ import de.anomic.server.serverThread;
import de.anomic.server.serverCore.Session;
import de.anomic.yacy.yacyCore;
import de.anomic.yacy.yacySeed;
-import de.anomic.yacy.yacySeedDB;
public class Connections_p {
@@ -123,7 +122,7 @@ public class Connections_p {
// determining if the source is a yacy host
- yacySeed seed = yacyCore.seedDB.lookupByIP(userAddress,true,true,true);
+ yacySeed seed = yacyCore.seedDB.lookupByIP(userAddress,true,false,false);
if (seed != null) {
if ((seed.hash == yacyCore.seedDB.mySeed.hash) &&
(!seed.get("Port","").equals(Integer.toString(userPort)))) {