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

throw ISE if the WebSocketSCI configure() is called on a started ServletContextHandler #5406

Merged
merged 2 commits into from
Oct 16, 2020

Conversation

lachlan-roberts
Copy link
Contributor

The context listener added by the WebSocketServletContainerInitializers will never be called if the ServletContextHandler has already started. So we should throw IllegalStateException if the ServletContextHandler has been started.

…textHandler

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@joakime joakime force-pushed the jetty-10.0.x-WebSocketSCI branch from c1378b3 to 7ed6998 Compare October 15, 2020 19:55
Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lachlan-roberts lachlan-roberts merged commit 681f46b into jetty-10.0.x Oct 16, 2020
@lachlan-roberts lachlan-roberts deleted the jetty-10.0.x-WebSocketSCI branch October 16, 2020 06:13
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.

2 participants