[JSch-users] Patch for performance issues with rapid connections over forwarded port

2011-12-29 Thread B. Scott Smith
Hi ymnk, In my prior email, I discussed downloading and running a large Web Start Application through a forwarded port, which caused my Session to disconnect. After applying the patch from my prior email, my Sessions would no longer close, but the performance was noticeably slower when compared

[JSch-users] Patch for "Received data for nonexistent channel" error

2011-12-29 Thread B. Scott Smith
Hi ymnk, I forwarded a port to a web server. Through that port I attempted to download and run a Web Start Application via JNLP. It is a large and complex Application (70MB and over 80 files). My Session would spuriously shut down during the download of the Application, yet no error was throw

Re: [JSch-users] Issue: One blocking channel blocks all Session communication

2011-12-29 Thread B. Scott Smith
Hi ymnk, I never heard back from you on this issue. The problem is that the main Session loop blocks when calling channel.write() while handling incoming SSH_MSG_CHANNEL_DATA. When that happens, all channels in the entire Session stop communicating. To resolve this, I instead write the message