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-849] Using a ClientChannelPendingMessagesQueue to regulate messages order while forwarding channel is being set up #72

Closed
wants to merge 1 commit into from

Conversation

lgoldstein
Copy link
Contributor

No description provided.

@lgoldstein
Copy link
Contributor Author

The code can also be checked out and tested from https://github.com/lgoldstein/mina-sshd/tree/SSHD-849.

@fcav1973
Copy link

We have tested you modifications, but we have found some problems, I thinks related to queue.waitForPendingMessagesFlush(TimeUnit.SECONDS, maxWaitSec); inside DefaultForwardingFilter which is blocking the thread pool. We have worked out a patch for this (something like adding another feature field to ClientChannelPendingMessagesQueue so to append the listener executing channel.close) and we are trying it (with good results till now). We will give you feedback in the next few days.

@lgoldstein
Copy link
Contributor Author

Good news - will await your input

@lgoldstein lgoldstein force-pushed the SSHD-849 branch 2 times, most recently from e429576 to 0315a68 Compare October 23, 2018 12:23
@robertodeandrea
Copy link
Contributor

Hi Lyor,
we made definitive changes to our code that is working fine.
Our last commits are at robertodeandrea@c381e52

@lgoldstein
Copy link
Contributor Author

There are quite a few issues with this code - however, I think you are on to something with the usage of the extra future (the completion one). I have made the changes based on your idea into my original code and pushed it into the same branch (https://github.com/lgoldstein/mina-sshd/tree/SSHD-849) + PR. Can you review + test it an see ?

@lgoldstein lgoldstein force-pushed the SSHD-849 branch 2 times, most recently from 758b2bb to 6f68fb3 Compare October 25, 2018 04:56
…ages order while forwarding channel is being set up
@fcav1973
Copy link

fcav1973 commented Oct 26, 2018 via email

@lgoldstein
Copy link
Contributor Author

Great - hope you can overcome the SSH_MSG_CHANNEL_WINDOW_ADJUST issue...

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.

3 participants