Default to Cubic congestion control rather than NewReno

Reportedly increases throughput over realistic WAN paths dramatically.
This commit is contained in:
Benjamin Saunders
2021-07-17 11:35:50 -07:00
committed by Dirkjan Ochtman
parent 459f56973c
commit 1c257aba1b
+1 -1
View File
@@ -244,7 +244,7 @@ impl Default for TransportConfig {
datagram_receive_buffer_size: Some(STREAM_RWND as usize),
datagram_send_buffer_size: 1024 * 1024,
congestion_controller_factory: Box::new(Arc::new(congestion::NewRenoConfig::default())),
congestion_controller_factory: Box::new(Arc::new(congestion::CubicConfig::default())),
}
}
}