Add a cancel message to the aiohttp compatiblity layer (#97058)
This commit is contained in:
parent
fe0fe19be9
commit
e60313628f
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class CancelOnDisconnectRequestHandler(web_protocol.RequestHandler):
|
|||
task_handler = self._task_handler
|
||||
super().connection_lost(exc)
|
||||
if task_handler is not None:
|
||||
task_handler.cancel()
|
||||
task_handler.cancel("aiohttp connection lost")
|
||||
|
||||
|
||||
def restore_original_aiohttp_cancel_behavior() -> None:
|
||||
|
|
Loading…
Add table
Reference in a new issue