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:
jrandom
2004-09-27 07:57:43 +00:00
committed by zzz
parent 63355ecd5b
commit 0361246db0
15 changed files with 334 additions and 28 deletions

View File

@ -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() {