I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 91f83277 authored by jrandom's avatar jrandom Committed by zzz
Browse files

made incompatible with previous releases - the remaining commits before the...

made incompatible with previous releases - the remaining commits before the next rev are NOT BACKWARDS COMPATIBLE
do NOT update until the next release
parent c937cb2f
No related branches found
No related tags found
No related merge requests found
...@@ -44,10 +44,10 @@ class RestrictiveTCPConnection extends TCPConnection { ...@@ -44,10 +44,10 @@ class RestrictiveTCPConnection extends TCPConnection {
} }
/** passed in the handshake process for the connection, and only equivilant protocols will be accepted */ /** 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 */ /** 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 { private boolean validateVersion() throws DataFormatException, IOException {
if (_log.shouldLog(Log.DEBUG)) _log.debug("Before validating version"); if (_log.shouldLog(Log.DEBUG)) _log.debug("Before validating version");
......
...@@ -30,8 +30,8 @@ class SocketCreator implements Runnable { ...@@ -30,8 +30,8 @@ class SocketCreator implements Runnable {
public boolean couldEstablish() { return _established; } public boolean couldEstablish() { return _established; }
/** the first byte sent and received must be 0x2A */ /** the first byte sent and received must be 0x42 */
public final static int I2P_FLAG = 0x2A; public final static int I2P_FLAG = 0x42;
/** sent if we arent trying to talk */ /** sent if we arent trying to talk */
private final static int NOT_I2P_FLAG = 0x2B; private final static int NOT_I2P_FLAG = 0x2B;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment