Skip to content

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

added IOException for httpc client error see also http://www.yacy-forum.de/viewtopic.php?p=18615#18615

orbiter3237fe1cc7cc
diff --git a/source/de/anomic/http/httpc.java b/source/de/anomic/http/httpc.java
index 68e688ec8..d870656b3 100644
--- a/source/de/anomic/http/httpc.java
+++ b/source/de/anomic/http/httpc.java
@@ -1695,6 +1695,7 @@ do upload
} else {
serverLog.logSevere("HTTPC", "RESPONSE PARSE ERROR: HOST='" + httpc.this.host + "', PATH='" + httpc.this.requestPath + "', STATUS='" + this.status + "'");
serverLog.logSevere("HTTPC", "..............BUFFER: " + buffer);
+ throw new IOException(this.status);
}
}
}