mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Moved connection window size to TransportConstants.
This commit is contained in:
@@ -48,7 +48,4 @@ public interface ProtocolConstants {
|
||||
|
||||
/** The length of a message's random salt in bytes. */
|
||||
static final int SALT_LENGTH = 8;
|
||||
|
||||
/** The size of the connection reordering window. */
|
||||
static final int CONNECTION_WINDOW_SIZE = 32;
|
||||
}
|
||||
|
||||
@@ -23,4 +23,7 @@ public interface TransportConstants {
|
||||
* plugins must support connections of at least this length.
|
||||
*/
|
||||
static final int MIN_CONNECTION_LENGTH = 1024 * 1024; // 2^20, 1 MiB
|
||||
|
||||
/** The size of the connection reordering window. */
|
||||
static final int CONNECTION_WINDOW_SIZE = 32;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user