diff --git a/Cargo.toml b/Cargo.toml index 888566527..902a38870 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -140,9 +140,9 @@ tokio-socks = { version = "0.5.1", optional = true } trust-dns-resolver = { version = "0.22", optional = true } # HTTP/3 experimental support -h3 = { version="0.0.1", optional = true } -h3-quinn = { version="0.0.1", optional = true } -quinn = { version = "0.8", default-features = false, features = ["tls-rustls", "ring"], optional = true } +h3 = { version="0.0.2", optional = true } +h3-quinn = { version="0.0.2", optional = true } +quinn = { version = "0.9", default-features = false, features = ["tls-rustls", "ring"], optional = true } futures-channel = { version="0.3", optional = true} diff --git a/src/async_impl/h3_client/connect.rs b/src/async_impl/h3_client/connect.rs index 755864590..daedb6e44 100644 --- a/src/async_impl/h3_client/connect.rs +++ b/src/async_impl/h3_client/connect.rs @@ -31,7 +31,7 @@ impl H3Connector { ) -> H3Connector { let mut config = ClientConfig::new(Arc::new(tls)); // FIXME: Replace this when there is a setter. - config.transport = Arc::new(transport_config); + config.transport_config(Arc::new(transport_config)); let socket_addr = match local_addr { Some(ip) => SocketAddr::new(ip, 0),