*) 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
pull/1/head
theli 18 years ago
parent 5c83f6da95
commit d157201e08

@ -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.");

Loading…
Cancel
Save