From 107a90fa33d7c3f5f734870c41dd060051cf73e0 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Tue, 24 Jun 2008 14:33:30 +0000 Subject: [PATCH] increase max window size to 128 --- .../java/src/net/i2p/client/streaming/Connection.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/streaming/java/src/net/i2p/client/streaming/Connection.java b/apps/streaming/java/src/net/i2p/client/streaming/Connection.java index d4a4fcc79e..bc08ad9c0c 100644 --- a/apps/streaming/java/src/net/i2p/client/streaming/Connection.java +++ b/apps/streaming/java/src/net/i2p/client/streaming/Connection.java @@ -78,8 +78,7 @@ public class Connection { /** wait up to 5 minutes after disconnection so we can ack/close packets */ public static int DISCONNECT_TIMEOUT = 5*60*1000; - /** lets be sane- no more than 64 packets in the air in each dir */ - public static final int MAX_WINDOW_SIZE = 64; + public static final int MAX_WINDOW_SIZE = 128; public Connection(I2PAppContext ctx, ConnectionManager manager, SchedulerChooser chooser, PacketQueue queue, ConnectionPacketHandler handler) { this(ctx, manager, chooser, queue, handler, null); -- GitLab