From 8421ae1ed41e7b02ae0c018b18fc18c25c63b6b8 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Mon, 5 Jan 2009 15:12:56 +0000 Subject: [PATCH] * Streaming: Reduce default initial window size from 12 to 6, to account for the MTU increase in the last release --- .../java/src/net/i2p/client/streaming/ConnectionOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/streaming/java/src/net/i2p/client/streaming/ConnectionOptions.java b/apps/streaming/java/src/net/i2p/client/streaming/ConnectionOptions.java index 3cc159f986..6ad79ad159 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/ConnectionOptions.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/ConnectionOptions.java @@ -54,7 +54,7 @@ public class ConnectionOptions extends I2PSocketOptionsImpl { public static final String PROP_SLOW_START_GROWTH_RATE_FACTOR = "i2p.streaming.slowStartGrowthRateFactor"; private static final int TREND_COUNT = 3; - static final int INITIAL_WINDOW_SIZE = 12; + static final int INITIAL_WINDOW_SIZE = 6; static final int DEFAULT_MAX_SENDS = 8; public static final int DEFAULT_INITIAL_RTT = 10*1000; static final int MIN_WINDOW_SIZE = 1; -- GitLab