(self, err: str)
| 398 | return True, None |
| 399 | |
| 400 | def on_handshake_error(self, err: str) -> layer.CommandGenerator[None]: |
| 401 | self.conn.error = err |
| 402 | if self.conn == self.context.client: |
| 403 | yield TlsFailedClientHook(TlsData(self.conn, self.context, self.tls)) |
| 404 | else: |
| 405 | yield TlsFailedServerHook(TlsData(self.conn, self.context, self.tls)) |
| 406 | yield from super().on_handshake_error(err) |
| 407 | |
| 408 | def receive_data(self, data: bytes) -> layer.CommandGenerator[None]: |
| 409 | if data: |
no test coverage detected