-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Refactor web server shutdown procedure #384
Labels
Comments
+2 |
Well, finalizer api should be more complex:
|
Or even
to mimic asyncio server protocol and to avoid inventing new |
-10, "establishing new connections" is not a concern of application. you want to copy whole create_server api from asyncio? |
Fixed by #734 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Now we should use complicated code for graceful shutdown:
The problem is:
finally
block is very complexhandler.finish_connections()
call.I guess add new API like:
The text was updated successfully, but these errors were encountered: