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

Provide a way to shutdown a connection on quiescence #69

Open
carllerche opened this issue Sep 8, 2017 · 2 comments
Open

Provide a way to shutdown a connection on quiescence #69

carllerche opened this issue Sep 8, 2017 · 2 comments

Comments

@carllerche
Copy link
Collaborator

Both the server and the client need a way to initiate a clean shutdown. The process should be:

  • Stop accepting new streams
  • Wait until all existing streams are complete
  • Send a GO_AWAY frame
  • Close the connection.
@teohhanhui
Copy link

teohhanhui commented Mar 14, 2023

Isn't this already supported? #245 #250

This issue is still referenced from the docs:

h2/src/server.rs

Lines 57 to 58 in 45b9bcc

//! Graceful shutdown of the server is [not yet
//! implemented](https://github.com/hyperium/h2/issues/69).

@jorendorff
Copy link

This issue is still referenced from the docs. @seanmonstar Is any part of this still open or did you fix all this 5+ years ago?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants