Skip to content

Commit

Permalink
update h3 and h3-quinn to 0.0.2 (#1811)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Apr 28, 2023
1 parent 2fa69ad commit b4d5ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}


Expand Down
2 changes: 1 addition & 1 deletion src/async_impl/h3_client/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b4d5ab0

Please sign in to comment.