forked from I2P_Developers/i2p.i2p
2004-09-27 jrandom
* Limit the number of connection tags saved to 10,000. This is a huge
limit, but consumes no more than 1MB of RAM. For now, we drop them
randomly after reaching that size, forcing those dropped peers to use
a full DH negotiation.
* HTML cleanup in the console.
This commit is contained in:
@@ -28,7 +28,10 @@ public class SessionKey extends DataStructureImpl {
|
||||
public final static int KEYSIZE_BYTES = 32;
|
||||
|
||||
public SessionKey() {
|
||||
setData(null);
|
||||
this(null);
|
||||
}
|
||||
public SessionKey(byte data[]) {
|
||||
setData(data);
|
||||
}
|
||||
|
||||
public byte[] getData() {
|
||||
|
||||
Reference in New Issue
Block a user