소스 검색

Make it more clear that the local window size is related to the packet size.

Gert Driesen 11 년 전
부모
커밋
dae0eb761d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Renci.SshClient/Renci.SshNet/Session.cs

+ 1 - 1
Renci.SshClient/Renci.SshNet/Session.cs

@@ -36,7 +36,7 @@ namespace Renci.SshNet
         /// <value>
         /// 2 MB.
         /// </value>
-        private const int InitialLocalWindowSize = 0x200000;
+        private const int InitialLocalWindowSize = LocalChannelDataPacketSize * 32;
 
         /// <summary>
         /// Holds the maximum size of channel data packets that we receive.