def _on_client_ssl_established(self):
        """Once the client is connected return to bridging mode"""
        self.client_bridge_fn = self._bridge_client
        # Now we are ready to bridge in both directions
        self.set_select_fds(rlist=[self.client_socket, self.server_socket])
        self.ssl = True
        self.handler.on_ssl_establish()
        return True
Once the client is connected return to bridging mode
nogotofail/mitm/connection/connection.py