1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #33738 -- Allowed handling ASGI http.disconnect in long-lived requests.

This commit is contained in:
th3nn3ss
2022-12-21 14:25:24 -05:00
committed by Mariusz Felisiak
parent 4e4eda6d6c
commit 1d1ddffc27
5 changed files with 157 additions and 3 deletions

View File

@@ -192,6 +192,13 @@ Minor features
* ...
Asynchronous views
~~~~~~~~~~~~~~~~~~
* Under ASGI, ``http.disconnect`` events are now handled. This allows views to
perform any necessary cleanup if a client disconnects before the response is
generated. See :ref:`async-handling-disconnect` for more details.
Cache
~~~~~