Skip to content
Permalink
Browse files

[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 f1353cc0e0aa1b1e6bc845236e4a2530ea3103fd
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/com/trilead/ssh2/channel/Channel.java
@@ -94,7 +94,6 @@ public void write(byte[] buf, int start, int len) throws IOException {
}
} else {
sink.write(buf,start,len);
freeupWindow(len);
}
}

0 comments on commit f1353cc

Please sign in to comment.