def _receive_goaway_frame(self, frame):
        events = self.state_machine.process_input(
            ConnectionInputs.RECV_GOAWAY
        )

        # Clear the outbound data buffer: we cannot send further data now.
        self.clear_outbound_data_buffer()

        # Fire an appropriate ConnectionTerminated event.
        new_event = ConnectionTerminated()
        new_event.error_code = frame.error_code
        new_event.last_stream_id = frame.last_stream_id
        new_event.additional_data = (frame.additional_data
                                     if frame.additional_data else None)
        events.append(new_event)

        return [], events
Receive a GOAWAY frame on the connection.
dataset/ETHPy150Open python-hyper/hyper-h2/h2/connection.py/H2Connection._receive_goaway_frame