def _handle_short_client_send(self, remaining):
        """Handle a send to the client that failed to send all the data.
        This means our send buffer is full so start selecting for W on the client and stop
        reading data from the server until we've successfully sent everything pending."""
        self._remaining_client_send_data = remaining
        self.set_select_fds(wlist=[self.client_socket])
        self.client_bridge_fn = self._short_send_client_bridge_fn
Handle a send to the client that failed to send all the data.
        This means our send buffer is full so start selecting for W on the client and stop
        reading data from the server until we've successfully sent everything pending.
nogotofail/mitm/connection/connection.py