RuntimeError if websocket client disconnects from the server before websocket connection is accepted #2311
-
During server shutdown (i.e. CTRL-C),
The offending code is in https://github.com/encode/uvicorn/blob/master/uvicorn/protocols/websockets/websockets_impl.py
I think we can safely wrap the
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please see master...invisibleroads:uvicorn:patch-3 |
Beta Was this translation helpful? Give feedback.
-
This is an issue with uvloop. I've written an MRE on their side: MagicStack/uvloop#506 (comment) |
Beta Was this translation helpful? Give feedback.
This is an issue with uvloop. I've written an MRE on their side: MagicStack/uvloop#506 (comment)