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

[WFLY-6288] Guard against IllegalStateException during transfer #8737

Conversation

Projects
None yet
1 participant
@jmesnil
Copy link
Member

commented Feb 26, 2016

When the channel is transferred to the Netty acceptor, catch any
IllegalStateException thrown by the method in case the acceptor has
become unavailable and close the connection.

JIRA: https://issues.jboss.org/browse/WFLY-6288

This PR contains the same commit than #8681 that has not been merged yet

jmesnil added some commits Feb 12, 2016

[WFLY-6199] Fix NPE in HTTPUpgradeService
Check if ActiveMQ remotingService is started before transferring the
channel to its acceptor.
The remotingService may be stopped (and the acceptor null) if ActiveMQ
is shutdown while the client performs an HTTP upgrade handshake.

JIRA: https://issues.jboss.org/browse/WFLY-6199
[WFLY-6288] Guard against IllegalStateException during transfer
When the channel is transferred to the Netty acceptor, catch any
IllegalStateException thrown by the method in case the acceptor has
become unavailable and close the connection.

JIRA: https://issues.jboss.org/browse/WFLY-6288

@jmesnil jmesnil closed this Feb 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.