used up, rather than over half. That this increases the throughput of PSCP
by 50% indicates just how broken our window handling is.
git-svn-id: svn://svn.tartarus.org/sgt/putty@7667
cda61777-01e9-0310-a592-
d414129be87e
*
* "Significant" is arbitrarily defined as half the window size.
*/
*
* "Significant" is arbitrarily defined as half the window size.
*/
- if (newwin > c->v.v2.locwindow * 2) {
+ if (newwin >= c->v.v2.locwindow * 2) {
struct Packet *pktout;
pktout = ssh2_pkt_init(SSH2_MSG_CHANNEL_WINDOW_ADJUST);
struct Packet *pktout;
pktout = ssh2_pkt_init(SSH2_MSG_CHANNEL_WINDOW_ADJUST);