Terminate the connection without waiting for pending data.
(self)
| 1542 | self._cleanup() |
| 1543 | |
| 1544 | def terminate(self): |
| 1545 | """Terminate the connection without waiting for pending data.""" |
| 1546 | if not self._aborted and self._protocol is not None: |
| 1547 | self._abort() |
| 1548 | self._cleanup() |
| 1549 | |
| 1550 | async def _reset(self): |
| 1551 | self._check_open() |