/// The method reacts to a *Transport* error message.
The method reacts to a *Transport* error message.
The method reacts to a * Transport * error message .
fn on_transport_error(&self, _transport_error: TransportError) {
        // TODO: P2P-435 Re-instate call to
        //
        // download_manager
        //    .send_retransmission_request(flow.peer_id)
        //
        // when using multiple flows in Transport and when having the
        // new throttling mechanisms in download_management JIRA
        // Tickets:
        //
        // - Multiple flows: P2P-435
        // - Error handling: P2P-261
        //
        // We cannot send a retransmission request without having
        // multiple flows support as we have to be able to clear the
        // adverts queue (and only it) before responding to such a
        // request. Otherwise, we'll have to clear the entire queue to
        // that peer. This queue may contain a re-transmission
        // request. So we must send a re-transmission request before
        // the adverts (that are sent as a response to a
        // retransmission request from the other side).  This would
        // create an infinite loop of re-transmission requests. We
        // could throttle them (as we would anyway do even with
        // multiple flows support), but then we'll end up with
        // periodic retransmission and not event-based.
    }
fn on_transport_error ( & self , _transport_error : TransportError ) { // TODO: P2P-435 Re-instate call to // // download_manager //    .send_retransmission_request(flow.peer_id) // // when using multiple flows in Transport and when having the // new throttling mechanisms in download_management JIRA // Tickets: // // - Multiple flows: P2P-435 // - Error handling: P2P-261 // // We cannot send a retransmission request without having // multiple flows support as we have to be able to clear the // adverts queue (and only it) before responding to such a // request. Otherwise, we'll have to clear the entire queue to // that peer. This queue may contain a re-transmission // request. So we must send a re-transmission request before // the adverts (that are sent as a response to a // retransmission request from the other side).  This would // create an infinite loop of re-transmission requests. We // could throttle them (as we would anyway do even with // multiple flows support), but then we'll end up with // periodic retransmission and not event-based. }
The method reacts to a *Transport* error message.
The method reacts to a * Transport * error message .
&self
_transport_error
TransportError