Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
replace one more arbitrary CONNECTION_PROP_CLIENTIP header with std. getRemoteAddr()
regerde33c7e7658e
diff --git a/htroot/Settings_p.java b/htroot/Settings_p.javaindex 8453cc87d..e349e8c42 100644--- a/htroot/Settings_p.java+++ b/htroot/Settings_p.java@@ -25,7 +25,6 @@import java.util.HashMap;import java.util.Iterator;-import net.yacy.cora.protocol.HeaderFramework;import net.yacy.cora.protocol.RequestHeader;import net.yacy.peers.Network;import net.yacy.peers.Seed;@@ -126,8 +125,7 @@ public final class Settings_p {prop.put("serveruser","server");// clientIP- prop.putXML("clientIP", header.get(HeaderFramework.CONNECTION_PROP_CLIENTIP, "<unknown>")); // read an artificial header addendum-+ prop.putXML("clientIP", header.getRemoteAddr() == null ? "<unknown>" : header.getRemoteAddr());/** seed upload settings*/