mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1713580 - Enable the cubic congestion control for HTTP/3 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D116366
This commit is contained in:
parent
3db9c9786a
commit
eb3ec2f4ca
@ -9,7 +9,8 @@ use neqo_http3::Error as Http3Error;
|
||||
use neqo_http3::{Http3Client, Http3ClientEvent, Http3Parameters, Http3State};
|
||||
use neqo_qpack::QpackSettings;
|
||||
use neqo_transport::{
|
||||
ConnectionParameters, Error as TransportError, Output, QuicVersion, RandomConnectionIdGenerator,
|
||||
CongestionControlAlgorithm, ConnectionParameters, Error as TransportError, Output, QuicVersion,
|
||||
RandomConnectionIdGenerator,
|
||||
};
|
||||
use nserror::*;
|
||||
use nsstring::*;
|
||||
@ -92,7 +93,9 @@ impl NeqoHttp3Conn {
|
||||
Rc::new(RefCell::new(RandomConnectionIdGenerator::new(3))),
|
||||
local,
|
||||
remote,
|
||||
ConnectionParameters::default().quic_version(quic_version),
|
||||
ConnectionParameters::default()
|
||||
.quic_version(quic_version)
|
||||
.cc_algorithm(CongestionControlAlgorithm::Cubic),
|
||||
&http3_settings,
|
||||
Instant::now(),
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user