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

Fixes #5378 Setting Holders during STARTING #5397

Merged
merged 2 commits into from Oct 7, 2020

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Oct 5, 2020

Fixes #5378 Holders are now started/initialized if needed by a new utility method

Holders are now started/initialized if needed by a new utility method
@joakime
Copy link
Contributor

joakime commented Oct 5, 2020

I thought this issue was unique to Jetty 10?
Does this manifest in Jetty 9.4.x too?

@gregw
Copy link
Contributor Author

gregw commented Oct 6, 2020

@joakime The underlying problem (not being able to add a holder during STARTING) is in 9.4. It only manifested in 10.beta2 because WS changed to add a filter during STARTING.

@lachlan-roberts
Copy link
Contributor

The specific change is from PR #5115, where we now lazily create the WebSocketUpgradeFilter in jetty 10.

Copy link
Contributor

@janbartel janbartel left a comment

Choose a reason for hiding this comment

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

In general I'm nervous of this change, but if you add some more tests as per my comments that might help assuage the nervousness.

Holders are now started/initialized if needed by a new utility method
@gregw gregw requested a review from janbartel October 6, 2020 12:51
@gregw gregw merged commit 721a05e into jetty-9.4.x Oct 7, 2020
@joakime joakime deleted the jetty-9.4.x-5378-setHolders-in-starting branch October 16, 2020 22:48
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.

Filter/Servlet/Listener Holders are not started if added during STARTING state.
4 participants