(self)
| 797 | return conn, size |
| 798 | |
| 799 | def abort(self): |
| 800 | # overridden as we can't pass MSG_OOB flag to sendall() |
| 801 | line = b'ABOR' + B_CRLF |
| 802 | self.sock.sendall(line) |
| 803 | resp = self.getmultiline() |
| 804 | if resp[:3] not in {'426', '225', '226'}: |
| 805 | raise error_proto(resp) |
| 806 | return resp |
| 807 | |
| 808 | __all__.append('FTP_TLS') |
| 809 | all_errors = (Error, OSError, EOFError, ssl.SSLError) |
nothing calls this directly
no test coverage detected