mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Use the same maximum frame length for all transports.
This commit is contained in:
@@ -15,7 +15,6 @@ import org.briarproject.plugins.DuplexClientTest;
|
||||
// is running on another machine
|
||||
public class LanTcpClientTest extends DuplexClientTest {
|
||||
|
||||
private static final int MAX_FRAME_LENGTH = 1024;
|
||||
private static final int MAX_LATENCY = 60 * 1000;
|
||||
private static final int MAX_IDLE_TIME = 30 * 1000;
|
||||
private static final int POLLING_INTERVAL = 60 * 1000;
|
||||
@@ -31,8 +30,8 @@ public class LanTcpClientTest extends DuplexClientTest {
|
||||
// Create the plugin
|
||||
callback = new ClientCallback(new TransportConfig(),
|
||||
new TransportProperties(), remote);
|
||||
plugin = new LanTcpPlugin(executor, callback, MAX_FRAME_LENGTH,
|
||||
MAX_LATENCY, MAX_IDLE_TIME, POLLING_INTERVAL);
|
||||
plugin = new LanTcpPlugin(executor, callback, MAX_LATENCY,
|
||||
MAX_IDLE_TIME, POLLING_INTERVAL);
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user