Author: toad
Date: 2007-06-28 13:26:32 +0000 (Thu, 28 Jun 2007)
New Revision: 13797
Modified:
trunk/freenet/src/freenet/node/updater/NodeUpdater.java
Log:
I think this is what we need to do here..
Modified: trunk/freenet/src/freenet/node/updater/NodeUpdater.java
===================================================================
--- trunk/freenet/src/freenet/node/updater/NodeUpdater.java 2007-06-28
13:24:26 UTC (rev 13796)
+++ trunk/freenet/src/freenet/node/updater/NodeUpdater.java 2007-06-28
13:26:32 UTC (rev 13797)
@@ -230,12 +230,8 @@
this.cg = null;
isFetching=false;
}
- if((errorCode == FetchException.DATA_NOT_FOUND) ||
- (errorCode == FetchException.ROUTE_NOT_FOUND) ||
- (errorCode ==
FetchException.PERMANENT_REDIRECT) ||
- (errorCode == FetchException.REJECTED_OVERLOAD)
||
- (errorCode == FetchException.CANCELLED)){
-
+ if(errorCode == FetchException.CANCELLED ||
+ !e.isFatal()) {
Logger.normal(this, "Rescheduling new request");
ticker.queueTimedJob(new Runnable() {
public void run() {