Skip to content

Refactor NettyWebServer startup algorithm #9698

@bclozel

Description

@bclozel

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions