From dae0eb761d9d3d51904034bd9f76fc799468975e Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Mon, 31 Mar 2014 17:37:29 +0000 Subject: [PATCH] Make it more clear that the local window size is related to the packet size. --- Renci.SshClient/Renci.SshNet/Session.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Renci.SshClient/Renci.SshNet/Session.cs b/Renci.SshClient/Renci.SshNet/Session.cs index 14da8c95..b5dbd7f9 100644 --- a/Renci.SshClient/Renci.SshNet/Session.cs +++ b/Renci.SshClient/Renci.SshNet/Session.cs @@ -36,7 +36,7 @@ namespace Renci.SshNet /// /// 2 MB. /// - private const int InitialLocalWindowSize = 0x200000; + private const int InitialLocalWindowSize = LocalChannelDataPacketSize * 32; /// /// Holds the maximum size of channel data packets that we receive.