Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) Correcting Problems with "transparent proxy" mode.
theli05ab7c4d6870
diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.javaindex df8bcaf46..d10719b7f 100644--- a/source/de/anomic/http/httpd.java+++ b/source/de/anomic/http/httpd.java@@ -214,11 +214,11 @@ public final class httpd implements serverHandler {if (dstPort.intValue() == 80) {if (dstHost.endsWith(".yacy")) {- this.prop.setProperty(httpHeader.HOST,dstHostSocket);+ this.prop.setProperty("HOST",dstHostSocket);} else {InetAddress dstHostAddress = InetAddress.getByName(dstHost);if (!(dstHostAddress.isAnyLocalAddress() || dstHostAddress.isLoopbackAddress())) {- this.prop.setProperty(httpHeader.HOST,dstHostSocket);+ this.prop.setProperty("HOST",dstHostSocket);}}}diff --git a/source/de/anomic/http/httpdProxyHandler.java b/source/de/anomic/http/httpdProxyHandler.javaindex b9928ffd2..066abfb08 100644--- a/source/de/anomic/http/httpdProxyHandler.java+++ b/source/de/anomic/http/httpdProxyHandler.java@@ -128,6 +128,8 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements httswitchboard = (plasmaSwitchboard) sb;cacheManager = switchboard.getCacheManager();+ isTransparentProxy = Boolean.valueOf(switchboard.getConfig("isTransparentProxy","false")).booleanValue();+// load remote proxy dataremoteProxyHost = switchboard.getConfig("remoteProxyHost","");try {