From 1d627371ced8e09a3f7d45bd11b50ae95a69dd5e Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Sun, 14 Nov 2010 14:55:58 +0000
Subject: [PATCH] todo comment

---
 .../java/src/net/i2p/router/web/UpdateHandler.java          | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/apps/routerconsole/java/src/net/i2p/router/web/UpdateHandler.java b/apps/routerconsole/java/src/net/i2p/router/web/UpdateHandler.java
index 9506400cf2..9d93701912 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/UpdateHandler.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/UpdateHandler.java
@@ -143,6 +143,12 @@ public class UpdateHandler {
         }
         protected void update() {
             updateStatus("<b>" + _("Updating") + "</b>");
+            // TODO:
+            // Do a PartialEepGet on the selected URL, check for version we expect,
+            // and loop if it isn't what we want.
+            // This will allow us to do a release without waiting for the last host to install the update.
+            // Alternative: In bytesTransferred(), Check the data in the output file after
+            // we've received at least 56 bytes. Need a cancel() method in EepGet ?
             String updateURL = selectUpdateURL();
             if (_log.shouldLog(Log.DEBUG))
                 _log.debug("Selected update URL: " + updateURL);
-- 
GitLab