daphne/tests
Patrick Gingras aae0870971
Handle asyncio.CancelledError in Server.application_checker (#341)
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.
2020-11-11 16:12:33 +01:00
..
http_base.py Added request body chunking (#335) 2020-10-21 16:38:03 +02:00
http_strategies.py Added compatibility for hypothesis 4 (#261) 2019-06-17 10:10:14 +02:00
test_cli.py Add command-line options for proxy headers 2018-10-26 12:34:15 -07:00
test_http_request.py Updated to use ASGI v3 applications internally. (#275) 2020-10-27 19:50:50 +01:00
test_http_response.py Switch from Travis CI to GitHub Actions (#336) 2020-10-20 16:44:54 +02:00
test_utils.py Implement Black code formatting 2018-08-27 12:29:57 +10:00
test_websocket.py Handle asyncio.CancelledError in Server.application_checker (#341) 2020-11-11 16:12:33 +01:00