Skip to content

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

*) IfesL for "Unexpected end of ZLIB" error message See: http://www.yacy-forum.de/viewtopic.php?t=3327

thelid157201e087c
diff --git a/source/de/anomic/plasma/crawler/http/CrawlWorker.java b/source/de/anomic/plasma/crawler/http/CrawlWorker.java
index cfe4e43ae..cbf8cb8c5 100644
--- a/source/de/anomic/plasma/crawler/http/CrawlWorker.java
+++ b/source/de/anomic/plasma/crawler/http/CrawlWorker.java
@@ -411,7 +411,8 @@ public final class CrawlWorker extends AbstractCrawlWorker {
retryCrawling = true;
} else if ((errorMsg != null) && (
(errorMsg.indexOf("Corrupt GZIP trailer") >= 0) ||
- (errorMsg.indexOf("Not in GZIP format") >= 0)
+ (errorMsg.indexOf("Not in GZIP format") >= 0) ||
+ (errorMsg.indexOf("Unexpected end of ZLIB") >= 0)
)) {
this.log.logWarning("CRAWLER Problems detected while receiving gzip encoded content from '" + this.url.toString() +
"'. Retrying request without using gzip content encoding.");