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.