Skip to content

Commit 1871c4e

Browse files
committed
Restore the force_close method to the ResponseHandler
fixes aio-libs/aiodocker#920
1 parent 7bbbd12 commit 1871c4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aiohttp/client_proto.py

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def should_close(self) -> bool:
6464
or self._tail
6565
)
6666

67+
def force_close(self) -> None:
68+
self._should_close = True
69+
6770
def close(self) -> None:
6871
transport = self.transport
6972
if transport is not None:

0 commit comments

Comments
 (0)