Fixed #34752 -- Fixed handling ASGI http.disconnect for streaming responses.

This commit is contained in:
Sam Toyer 2023-07-29 01:43:15 -07:00 committed by Mariusz Felisiak
parent a7c73b944f
commit 64cea1e48f
5 changed files with 197 additions and 23 deletions

View file

@ -197,6 +197,9 @@ cleanup::
# Handle disconnect
raise
You can also :ref:`handle client disconnects in streaming responses
<request-response-streaming-disconnect>`.
.. _async-safety:
Async safety