synced up with the eepget from the syndie source tree (allowing better

control of timeouts and transparent redirection).  the users of eepget
in this source tree don't necessarily use the timeout controls, though
they can be updated to do so
This commit is contained in:
jrandom
2007-09-08 02:24:01 +00:00
committed by zzz
parent f332513755
commit 20c46cff04
7 changed files with 285 additions and 45 deletions

View File

@ -225,4 +225,5 @@ public class NewsFetcher implements Runnable, EepGet.StatusListener {
temp.delete();
}
public void headerReceived(String url, int attemptNum, String key, String val) {}
public void attempting(String url) {}
}

View File

@ -107,6 +107,7 @@ public class ReseedHandler {
public void transferComplete(long alreadyTransferred, long bytesTransferred, long bytesRemaining, String url, String outputFile, boolean notModified) {}
public void transferFailed(String url, long bytesTransferred, long bytesRemaining, int currentAttempt) {}
public void headerReceived(String url, int attemptNum, String key, String val) {}
public void attempting(String url) {}
// End of EepGet status listeners
/**

View File

@ -169,6 +169,7 @@ public class UpdateHandler {
System.setProperty("net.i2p.router.web.UpdateHandler.updateInProgress", "false");
}
public void headerReceived(String url, int attemptNum, String key, String val) {}
public void attempting(String url) {}
}
private void restart() {