jsch
jsch copied to clipboard
Fix added
Fix for #38
File output stream is flushed just before remote window size is diminished. This will avoid choking channel piped input stream buffer and session thread will be able to ingest SSH_MSG_CHANNEL_WINDOW_ADJUST.
@manishbansal8843 @Hima88888888 I am using jsch to set up a port forwarding tunnel and then execute REST API requests over it. I see that for larger payloads the client gets "stuck" and seemingly does not receive anything anymore and eventually throws a timeout.
Would the fix in this branch help with this issue as well?
@manishbansal8843 @Hima88888888 I am using jsch to set up a port forwarding tunnel and then execute REST API requests over it. I see that for larger payloads the client gets "stuck" and seemingly does not receive anything anymore and eventually throws a timeout.
Would the fix in this branch help with this issue as well?
I think so. This seems to be the same issue. I would encourage you to try that. However, few people have reported that this fix did not work for them and i did not get a chance to further debug. But this fix has been working for me from last 1 year in production.
I think so. This seems to be the same issue. I would encourage you to try that. However, few people have reported that this fix did not work for them and i did not get a chance to further debug. But this fix has been working for me from last 1 year in production.
Thanks @manishbansal8843 , will give it a try.
Please submit this pull-request here: https://github.com/andreasrosdal/sschlib