提交 1d1c1889 编写于 作者: B Brian Atkinson

Fix a conditional bug: if the remote end supports pipe throttling, make

sure to use the right type of pipe window.
上级 73a8007d
...@@ -609,7 +609,7 @@ public class Channel implements VirtualChannel, IChannel { ...@@ -609,7 +609,7 @@ public class Channel implements VirtualChannel, IChannel {
} }
PipeWindow w; PipeWindow w;
if (!remoteCapability.supportsPipeThrottling()) if (remoteCapability.supportsPipeThrottling())
w = new Real(k, PIPE_WINDOW_SIZE); w = new Real(k, PIPE_WINDOW_SIZE);
else else
w = new PipeWindow.Fake(); w = new PipeWindow.Fake();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册