Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor, add the ability to manually shut down connections #63

Merged
merged 3 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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