Skip to content

Commit

Permalink
add the ability to manually shut down connections
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Nov 15, 2024
1 parent 5406fde commit 9c4cfb7
Show file tree
Hide file tree
Showing 9 changed files with 368 additions and 361 deletions.
22 changes: 22 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async-std = { version = "1", default-features = false, features = [
rkyv = { version = "0.7", features = ["validation"] }
derivative = "2"
rcgen = { version = "0.13", features = ["x509-parser", "crypto"] }
derive_more = { version = "1", features = ["deref"] }

# Dev dependencies (can't be defined explicitly in the workspace)
# TODO: figure out if this actually builds on non-test targets
Expand Down
1 change: 1 addition & 0 deletions cdn-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ rand.workspace = true
tracing.workspace = true
clap.workspace = true
parking_lot.workspace = true
derive_more.workspace = true
2 changes: 1 addition & 1 deletion cdn-client/src/binaries/bad-connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async fn main() {
// and the `QUIC` protocol.
let client = Client::<ProductionClientConnection>::new(config);

client.ensure_initialized().await;
client.ensure_initialized().await.unwrap();
sleep(Duration::from_millis(200)).await;
}
}
Loading

0 comments on commit 9c4cfb7

Please sign in to comment.