h2 icon indicating copy to clipboard operation
h2 copied to clipboard

Provide a way to shutdown a connection on quiescence

Open carllerche opened this issue 8 years ago • 3 comments

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.

carllerche avatar Sep 08 '17 03:09 carllerche

Isn't this already supported? #245 #250

This issue is still referenced from the docs: https://github.com/hyperium/h2/blob/45b9bccdfcb26cfe9907123a1e975a22eb84c44f/src/server.rs#L57-L58

teohhanhui avatar Mar 14 '23 09:03 teohhanhui

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?

jorendorff avatar Feb 02 '24 23:02 jorendorff