mirror of
https://github.com/django/daphne.git
synced 2025-11-03 00:57:35 +03:00
As of [bpo-32528](https://bugs.python.org/issue32528), asyncio.CancelledError is not a subclass of concurrent.futures.CancelledError. This means that if an asyncio future raises an exception, it won't be caught. Therefore, the exception will bubble past the try-except within the loop in application_checker, resulting in done applications not being cleaned up, and the application_checker task not being queued again. |
||
|---|---|---|
| .. | ||
| http_base.py | ||
| http_strategies.py | ||
| test_cli.py | ||
| test_http_request.py | ||
| test_http_response.py | ||
| test_utils.py | ||
| test_websocket.py | ||