made incompatible with previous releases - the remaining commits before the next rev are NOT BACKWARDS COMPATIBLE

do NOT update until the next release
This commit is contained in:
jrandom
2004-07-27 17:15:55 +00:00
committed by zzz
parent c937cb2f07
commit 91f83277e2
2 changed files with 4 additions and 4 deletions

View File

@ -44,10 +44,10 @@ class RestrictiveTCPConnection extends TCPConnection {
}
/** passed in the handshake process for the connection, and only equivilant protocols will be accepted */
private final static long PROTO_ID = 12;
private final static long PROTO_ID = 13;
/** read / write buffer size */
private final static int BUF_SIZE = 32*1024;
private final static int BUF_SIZE = 2*1024;
private boolean validateVersion() throws DataFormatException, IOException {
if (_log.shouldLog(Log.DEBUG)) _log.debug("Before validating version");

View File

@ -30,8 +30,8 @@ class SocketCreator implements Runnable {
public boolean couldEstablish() { return _established; }
/** the first byte sent and received must be 0x2A */
public final static int I2P_FLAG = 0x2A;
/** the first byte sent and received must be 0x42 */
public final static int I2P_FLAG = 0x42;
/** sent if we arent trying to talk */
private final static int NOT_I2P_FLAG = 0x2B;