I was running into a problem where my data coming back
from an SSHExec session was getting limited to 1048576
bytes, then I realized that what I was hitting was the
initial window size that is fixed in the Channel.java
code.  Do we have any means of programatically
changing the window size?  I see a setLocalWindowSize
method however it's local to the Channel class.  Can
you either explain a way that one would handle the
case of the data we send/receive when we hit this
window size limit, or is there a clean way to call
this from external code.  As it sits currently there
appears to be no way to set this dynamically. 
According to the SSH connection protocol, the window
should be able to be adjusted upwards to 2^32 - 1
bytes.  I just need to know if the current
implementation allows this, and if not then to report
a bug to fix it.  I tested that the reason my data
coming back was limited by this window size as I
changed the lwsize_max to 0x150000 rebuilt the jar and
then tried my failure case again and the data I got
back was 1376256.




      

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to