Skip to content

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

*) Suppressing for bad client requests. See: http://www.yacy-forum.de/viewtopic.php?p=26918

theli68204ff72930
diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.java
index 8168be210..487d537b5 100644
--- a/source/de/anomic/http/httpd.java
+++ b/source/de/anomic/http/httpd.java
@@ -473,6 +473,8 @@ public final class httpd implements serverHandler {
} else if ((errorMsg.startsWith("Broken pipe") || errorMsg.startsWith("Connection reset"))) {
// client closed the connection, so we just end silently
this.log.logInfo("Client unexpectedly closed connection");
+ } else if (errorMsg.equals("400 Bad request")) {
+ this.log.logInfo("Bad client request.");
} else {
this.log.logSevere("Unexpected Error. " + e.getClass().getName() + ": " + e.getMessage(),e);
}