diff --git a/CHANGES.txt b/CHANGES.txt index cc88a2c..56fd985 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,7 @@ 0.15.0 - 2015-08-xx + 2017-03-11 Increase default limits, set I2CP tag options + Update eepsite configuration for Jetty 9 (I2P 0.9.30) 0.14.0 2015-05-28 diff --git a/plugin/templates/jetty.xml b/plugin/templates/jetty.xml index 73757c8..617fe7d 100644 --- a/plugin/templates/jetty.xml +++ b/plugin/templates/jetty.xml @@ -15,10 +15,10 @@ - - + + - + @@ -42,18 +42,18 @@ - - - + + 20 + 3 + 60000 50 @@ -61,43 +61,11 @@ 4 20 - 60000 + 60000 true Zzzot Jetty - - - - + @@ -116,38 +84,31 @@ --> - + + + 1 + 0 + + + + + + + false + true + + + + + + 127.0.0.1 7662 - 60000 - 1 - false - 8443 - 5000 - 5000 - false + 600000 - - - @@ -301,7 +262,7 @@ - + $PLUGIN/contexts 120 @@ -381,8 +342,6 @@ true - false - true - 1000 + 1000 diff --git a/scripts/plugin.config b/scripts/plugin.config index a461e91..55b1f4d 100644 --- a/scripts/plugin.config +++ b/scripts/plugin.config @@ -8,6 +8,5 @@ updateURL=http://stats.i2p/i2p/plugins/zzzot-update.xpi2p updateURL.su3=http://stats.i2p/i2p/plugins/zzzot-update.su3 websiteURL=http://zzz.i2p/forums/16 license=Apache 2.0 -min-jetty-version=7 -max-jetty-version=8.9999 -min-i2p-version=0.9.9 +min-jetty-version=9 +min-i2p-version=0.9.29 diff --git a/src/build.xml b/src/build.xml index a3ba8a1..1cd69c2 100644 --- a/src/build.xml +++ b/src/build.xml @@ -25,7 +25,7 @@ - + diff --git a/src/java/net/i2p/zzzot/ZzzOTController.java b/src/java/net/i2p/zzzot/ZzzOTController.java index 89376e7..479fa27 100644 --- a/src/java/net/i2p/zzzot/ZzzOTController.java +++ b/src/java/net/i2p/zzzot/ZzzOTController.java @@ -70,7 +70,7 @@ public class ZzzOTController implements ClientApp { private static final String NAME = "ZzzOT"; private static final String CONFIG_FILE = "zzzot.config"; - private static final String BACKUP_SUFFIX = ".jetty6"; + private static final String BACKUP_SUFFIX = ".jetty8"; private static final String[] xmlFiles = { "jetty.xml", "contexts/base-context.xml", "contexts/cgi-context.xml", "etc/realm.properties", "etc/webdefault.xml" }; @@ -280,10 +280,10 @@ public class ZzzOTController implements ClientApp { * @since 0.10 (Jetty 7) */ private static boolean shouldMigrate(File f) { - String xml = FileUtil.readTextFile(f.getAbsolutePath(), 100, true); + String xml = FileUtil.readTextFile(f.getAbsolutePath(), 400, true); if (xml == null) return true; - return xml.contains("class=\"org.mortbay.jetty.Server\""); + return xml.contains("class=\"org.eclipse.jetty.server.nio.SelectChannelConnector\""); } /**