Browse Source

Increase max. SSH packet size back to 68536 (64 KB + 3000).

Gert Driesen 8 years ago
parent
commit
7c05bd19ba
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Renci.SshNet/Session.cs

+ 2 - 2
src/Renci.SshNet/Session.cs

@@ -50,9 +50,9 @@ namespace Renci.SshNet
         /// Specifies maximum packet size defined by the protocol.
         /// </summary>
         /// <value>
-        /// 35000.
+        /// 68536 (64 KB + 3000).
         /// </value>
-        private const int MaximumSshPacketSize = 35000;
+        private const int MaximumSshPacketSize = LocalChannelDataPacketSize + 3000;
 
         /// <summary>
         /// Holds the initial local window size for the channels.