(please wait until the release announcement before updating)

* 2004-11-26  0.4.2 released
2004-11-26  jrandom
    * Enable the new streaming lib as the default.  That means, for any
      substantial definition, it is NOT BACKWARDS COMPATIBLE.
This commit is contained in:
jrandom
2004-11-26 15:15:16 +00:00
committed by zzz
parent 8c7f9f2c65
commit e0e09bfa45
5 changed files with 10 additions and 10 deletions

View File

@ -26,8 +26,8 @@ public class I2PSocketManagerFactory {
private final static Log _log = new Log(I2PSocketManagerFactory.class);
public static final String PROP_MANAGER = "i2p.streaming.manager";
public static final String DEFAULT_MANAGER = "net.i2p.client.streaming.I2PSocketManagerImpl";
//public static final String DEFAULT_MANAGER = "net.i2p.client.streaming.I2PSocketManagerFull";
//public static final String DEFAULT_MANAGER = "net.i2p.client.streaming.I2PSocketManagerImpl";
public static final String DEFAULT_MANAGER = "net.i2p.client.streaming.I2PSocketManagerFull";
/**
* Create a socket manager using a brand new destination connected to the
@ -90,7 +90,7 @@ public class I2PSocketManagerFactory {
opts.setProperty(name, System.getProperty(name));
}
boolean oldLib = DEFAULT_MANAGER.equals(opts.getProperty(PROP_MANAGER, DEFAULT_MANAGER));
if (oldLib) {
if (oldLib && false) {
// for the old streaming lib
opts.setProperty(I2PClient.PROP_RELIABILITY, I2PClient.PROP_RELIABILITY_GUARANTEED);
//opts.setProperty("tunnels.depthInbound", "0");

View File

@ -14,8 +14,8 @@ package net.i2p;
*
*/
public class CoreVersion {
public final static String ID = "$Revision: 1.24 $ $Date: 2004/10/18 14:08:00 $";
public final static String VERSION = "0.4.1.4";
public final static String ID = "$Revision: 1.25 $ $Date: 2004/11/06 22:00:57 $";
public final static String VERSION = "0.4.2";
public static void main(String args[]) {
System.out.println("I2P Core version: " + VERSION);

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.86 $ $Date: 2004/11/22 20:12:34 $";
public final static String VERSION = "0.4.1.4";
public final static long BUILD = 15;
public final static String ID = "$Revision: 1.87 $ $Date: 2004/11/25 16:57:20 $";
public final static String VERSION = "0.4.2";
public final static long BUILD = 0;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION);
System.out.println("Router ID: " + RouterVersion.ID);

View File

@ -63,7 +63,7 @@ public class OutboundClientMessageJob extends JobImpl {
private final static long OVERALL_TIMEOUT_MS_DEFAULT = 60*1000;
/** how long for each send do we allow before going on to the next? */
private final static long DEFAULT_SEND_PARTIAL_TIMEOUT = 10*1000;
private final static long DEFAULT_SEND_PARTIAL_TIMEOUT = 50*1000;
private static final String PROP_SEND_PARTIAL_TIMEOUT = "router.clientPartialSendTimeout";
/** priority of messages, that might get honored some day... */

View File

@ -74,7 +74,7 @@ class TestTunnelJob extends JobImpl {
}
private final static long DEFAULT_TEST_TIMEOUT = 10*1000; // 10 seconds for a test to succeed
private final static long DEFAULT_MINIMUM_TEST_TIMEOUT = 5*1000; // 5 second min
private final static long DEFAULT_MINIMUM_TEST_TIMEOUT = 10*1000; // 5 second min
private final static long MAXIMUM_TEST_TIMEOUT = 60*1000; // 60 second max
private final static int TEST_PRIORITY = 100;