From d157201e087c814ac7f7f0bb50fe797511d2e23c Mon Sep 17 00:00:00 2001 From: theli Date: Fri, 5 Jan 2007 13:45:31 +0000 Subject: [PATCH] *) IfesL for "Unexpected end of ZLIB" error message See: http://www.yacy-forum.de/viewtopic.php?t=3327 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3169 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/crawler/http/CrawlWorker.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.");