Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) IfsL: Suppressing stacktraces on further proxy errors
thelie09f1fe8e4ca
diff --git a/source/de/anomic/http/httpdProxyHandler.java b/source/de/anomic/http/httpdProxyHandler.javaindex 46f9cb423..48ff788fa 100644--- a/source/de/anomic/http/httpdProxyHandler.java+++ b/source/de/anomic/http/httpdProxyHandler.java@@ -1215,7 +1215,12 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements httthis.forceConnectionClose();} else if ((exceptionMsg != null) && (exceptionMsg.indexOf("Connection reset")>= 0)) {errorMessage = "Connection reset";- } else if ((exceptionMsg != null) && (exceptionMsg.indexOf("unknown host")>=0)) {+ } else if ((exceptionMsg != null) &&+ (+ (exceptionMsg.indexOf("unknown host")>=0) ||+ (exceptionMsg.indexOf("socket write error")>=0) ||+ (exceptionMsg.indexOf("Read timed out") >= 0)+ )) {errorMessage = exceptionMsg;} else if ((remote != null)&&(remote.isClosed())) {// TODO: query for broken pipe