File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -50,17 +50,20 @@ public class Session : ISession
50
50
/// Specifies maximum packet size defined by the protocol.
51
51
/// </summary>
52
52
/// <value>
53
- /// 68536 (64 KB + 3000).
53
+ /// 68536 (64 KB + 3000 bytes ).
54
54
/// </value>
55
55
private const int MaximumSshPacketSize = LocalChannelDataPacketSize + 3000 ;
56
56
57
57
/// <summary>
58
58
/// Holds the initial local window size for the channels.
59
59
/// </summary>
60
60
/// <value>
61
- /// 2 MB .
61
+ /// 2147483647 (2^31 - 1) bytes .
62
62
/// </value>
63
- private const int InitialLocalWindowSize = LocalChannelDataPacketSize * 32 ;
63
+ /// <remarks>
64
+ /// We currently do not define a maximum (remote) window size.
65
+ /// </remarks>
66
+ private const int InitialLocalWindowSize = 0x7FFFFFFF ;
64
67
65
68
/// <summary>
66
69
/// Holds the maximum size of channel data packets that we receive.
You can’t perform that action at this time.
0 commit comments