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

OF-1112: Switch to MINA for inbound S2S #2159

Closed
wants to merge 1 commit into from

Conversation

guusdk
Copy link
Member

@guusdk guusdk commented Dec 14, 2022

This is a provisional change that switches inbound s2s traffic from the old net-io implementation to the newer nio (based on MINA).

In my limited tests, this seemed to work while setting up s2s connections, both with Dialback as with SASL External.

More work is probably desired. I particularly want to identify all code that can now be removed (as it's replaced by this change), while unmarking code as being 'deprecated' that is not (some classes that have already been marked as being deprecated in anticipation of this change remain in use, for example to initiate outbound traffic).

It is probably best to not remove the old implementation until after the new implementation has been released, and has proven itself. I'd like to give users an opportunity to reconfigure Openfire to use the old implementation. A similar configuration option existed when moving from the old IO to NIO for client-to-server traffic.

MINA's 2.2 branch seems to have a change in its TLS handling that almost guarantees a deadlock when working with Stream Management. This isn't related to the change in this PR, but might be reason to move away from MINA.

@guusdk
Copy link
Member Author

guusdk commented Jul 19, 2023

I'm closing this in favor of #2220

@guusdk guusdk closed this Jul 19, 2023
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.

1 participant