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:
@ -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");
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user