2005-01-17 jrandom

* Added meaningful support for adjusting the preferred message size in the
      streaming lib by setting the i2p.streaming.maxMessageSize=32768 (or
      whatever).  The other side will mimic a reduction (but never an increase).
    * Always make sure to use distinct ConnectionOption objects for each
      connection (duh)
    * Reduced the default ACK delay to 500ms on in the streaming lib
    * Only shrink the streaming window once per window
    * Don't bundle a new jetty.xml with updates
    * Catch another local routerInfo corruption issue on startup.
This commit is contained in:
jrandom
2005-01-17 08:15:00 +00:00
committed by zzz
parent ccb1f491c7
commit 61f217c610
16 changed files with 161 additions and 35 deletions

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.132 $ $Date: 2005/01/15 16:03:14 $";
public final static String ID = "$Revision: 1.133 $ $Date: 2005/01/15 18:16:12 $";
public final static String VERSION = "0.4.2.6";
public final static long BUILD = 2;
public final static long BUILD = 3;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION);
System.out.println("Router ID: " + RouterVersion.ID);

View File

@ -343,7 +343,12 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
// periodically update and resign the router's 'published date', which basically
// serves as a version
_context.jobQueue().addJob(new PublishLocalRouterInfoJob(_context));
publish(ri);
try {
publish(ri);
} catch (IllegalArgumentException iae) {
_log.log(Log.CRIT, "Our local router info is b0rked, clearing from scratch", iae);
_context.router().rebuildNewIdentity();
}
}
/**