Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSHD-393] Fix frozen ssh output stream on window adjust #10

Closed
wants to merge 1 commit into from

Conversation

marosmars
Copy link

When server output stream delayed write it did not resume it after the window was adjusted
Resume writes the same way client ssh channel does

maros.mars@gmail.com

@marosmars
Copy link
Author

When sending large amount of data, usually more than 2 mb, for output stream, server wrote delayed write and is not awakened after command SSH_MSG_CHANNEL_WINDOW_ADJUST. Problem tested with JUnit test, so this test can be attached or sent when requested.

When server output stream delayed write it did not resume it after the window was adjusted
Resume writes the same way client ssh channel does

Added 2 unit tests to verify the fix
@marosmars marosmars changed the title Fix frozen ssh output stream on window adjust [SSHD-393] Fix frozen ssh output stream on window adjust Jan 8, 2015
@tonydamage
Copy link

marosmars could you also attach unit test?

@marosmars
Copy link
Author

The unit tests are already there. I can see them within the commit

@gnodet
Copy link
Contributor

gnodet commented Feb 24, 2015

Could you please close this PR now ?

@marosmars
Copy link
Author

Done. Thx
When are you releasing new version of mina-sshd with this fix included ?

@marosmars marosmars closed this Feb 24, 2015
@gnodet
Copy link
Contributor

gnodet commented Feb 24, 2015

Very soon, I'm mainly waiting for a confirmation that SSHD-348 is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants