shikhar/sshj — Issue #47: ChannelOutputStream.flush() blocks forever if window size less than max packet size
Author: shikhar
Created: 2011-12-18 21:31:44+00:00
State: open

@ury0005:
"winsshd sends SSH_MSG_CHANNEL_OPEN_CONFIRMATION with "initial window size" less then "maximum packet size" (16384 < 35840). So SSHj try to send data block with 35840 size is waiting forever for a window size will be available. So SSHj should not try to send data block larger then available size of remote window."