Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) avoid exception throwing on already catched exception
thelibbc46f037f91
diff --git a/source/de/anomic/http/httpdProxyHandler.java b/source/de/anomic/http/httpdProxyHandler.javaindex 6a4c757a3..99ae7ed8e 100644--- a/source/de/anomic/http/httpdProxyHandler.java+++ b/source/de/anomic/http/httpdProxyHandler.java@@ -458,7 +458,7 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements httString errorMsg = "Unexpected Error. " + e.getClass().getName() + ": " + e.getMessage();this.theLogger.logError(errorMsg,e);} finally {- respond.flush();+ try { respond.flush(); } catch (Exception e) {}if (respond instanceof httpdByteCountOutputStream) ((httpdByteCountOutputStream)respond).finish();this.currentConProp.put(httpd.CONNECTION_PROP_REQUEST_END,new Long(System.currentTimeMillis()));@@ -816,7 +816,7 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements htthttpd.sendRespondError(conProp,respond,4,503,"socket error: " + e.getMessage(),"socket error: " + e.getMessage(), e);}} finally {- respond.flush();+ try { respond.flush(); } catch (Exception e) {}}return;}