Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-18836][FIXED JENKINS-18879][FIXED JENKINS-19619] remov…
…e double call of freeupWindow(len); when using ssh-slaves 0.27+

- the more performant code path is only followed when using SSH Slaves 0.27+
- the double call causes the channel to get torn down
- thus excessive logging to stderr on the slave side of the connection will cause the connection to tear down
- removing the duplicate call resolves the issue
  • Loading branch information
stephenc committed Oct 9, 2013
1 parent dc36a10 commit f1353cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/com/trilead/ssh2/channel/Channel.java
Expand Up @@ -94,7 +94,6 @@ public void write(byte[] buf, int start, int len) throws IOException {
}
} else {
sink.write(buf,start,len);
freeupWindow(len);
}
}

Expand Down

0 comments on commit f1353cc

Please sign in to comment.