From e338a13de31ec40b7faa918055fc0cceaac8093d Mon Sep 17 00:00:00 2001 From: theli Date: Sat, 27 Aug 2005 18:48:02 +0000 Subject: [PATCH] *) Suppress stacktrace on crawler error for "Read timed out" See: http://www.yacy-forum.de/viewtopic.php?p=8433 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@589 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaCrawlWorker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaCrawlWorker.java b/source/de/anomic/plasma/plasmaCrawlWorker.java index 885bd83cd..7ec2ac96d 100644 --- a/source/de/anomic/plasma/plasmaCrawlWorker.java +++ b/source/de/anomic/plasma/plasmaCrawlWorker.java @@ -437,7 +437,7 @@ public final class plasmaCrawlWorker extends Thread { log.logWarning("CRAWLER Problems detected while receiving gzip encoded content from '" + url.toString() + "'. Retrying request without using gzip content encoding."); retryCrawling = true; - } else if (errorMsg.indexOf("Socket time-out: Read timed out") >= 0) { + } else if (errorMsg.indexOf("Read timed out") >= 0) { log.logWarning("CRAWLER Read timeout while receiving content from '" + url.toString() + "'. Retrying request."); retryCrawling = true;