Skip to content

Conversation

@seanmonstar
Copy link
Member

This adds a new hyper_util::server::graceful::GracefulShutdown helper, which can be used to watch connections, and then trigger a graceful shutdown and await all connections finishing.

Continues off of #108. cc @GlenDC

Closes hyperium/hyper#2862

@seanmonstar seanmonstar requested review from davidpdrsn and tottoto May 27, 2024 14:51
@GlenDC
Copy link

GlenDC commented May 27, 2024

Thx. I currently have no time. So I’ll review instead :3

Copy link

@GlenDC GlenDC left a comment

Choose a reason for hiding this comment

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

I have a feeling you're not ready yet. But this does look a whole lot simpler indeed!
Not surprising of course, as there is a pay off. Fully respect the approach though, and pays of it self indeed. Thx for picking up the work, and all your hard work in general!!!

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.

Make a GracefulShutdown helper in hyper-util

3 participants