2005-03-03 jrandom

* Loop while starting up the I2PTunnel instances, in case the I2CP
      listener isn't up yet (thanks detonate!)
    * Implement custom reusable GZIP streams to both reduce memory churn
      and prevent the exposure of data in the standard GZIP header (creation
      time, OS, etc).  This is RFC1952 compliant, and backwards compatible,
      though has only been tested within the confines of I2P's compression use
      (DataHelper.[de]compress).
    * Preemptively support the next protocol version, so that after the 0.5.0.2
      release, we'll be able to drop protocol=2 to get rid of 0.5 users.
This commit is contained in:
jrandom
2005-03-04 06:09:20 +00:00
committed by zzz
parent ef230cfa3d
commit 10afe0a060
16 changed files with 937 additions and 38 deletions

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.156 $ $Date: 2005/03/01 12:50:54 $";
public final static String ID = "$Revision: 1.157 $ $Date: 2005/03/02 22:36:53 $";
public final static String VERSION = "0.5.0.1";
public final static long BUILD = 8;
public final static long BUILD = 9;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION);
System.out.println("Router ID: " + RouterVersion.ID);

View File

@ -87,7 +87,9 @@ public class TCPTransport extends TransportImpl {
public static final int DEFAULT_ESTABLISHERS = 3;
/** Ordered list of supported I2NP protocols */
public static final int[] SUPPORTED_PROTOCOLS = new int[] { 2 };
public static final int[] SUPPORTED_PROTOCOLS = new int[] { 2
, 3 // forward compat, so we can drop 0.5 builds after 0.5.0.2
};
/** blah, people shouldnt use defaults... */
public static final int DEFAULT_LISTEN_PORT = 8887;