Skip to content

Refactor NettyWebServer startup algorithm #9698

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

Closed
bclozel opened this issue Jul 7, 2017 · 0 comments
Closed

Refactor NettyWebServer startup algorithm #9698

bclozel opened this issue Jul 7, 2017 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Jul 7, 2017

The latest reactor-netty snapshots introduced a new method for starting the server and awaiting, without manually creating a daemon thread: HttpServer.startAndAwait(T handler, Consumer<BlockingNettyContext> onStart).

We can now safely remove the await Thread and managing the atomic reference on the netty context.

@bclozel bclozel added priority: high type: enhancement A general enhancement labels Jul 7, 2017
@bclozel bclozel added this to the 2.0.0.M3 milestone Jul 7, 2017
@bclozel bclozel self-assigned this Jul 7, 2017
@mbhave mbhave self-assigned this Jul 10, 2017
bclozel added a commit that referenced this issue Jul 18, 2017
Remove ununsed tests after gh-9698
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants