Skip to content

Commit d1f7c1e

Browse files
committed
chore: Benchmark "bypass SSL AEAD wrapper in RecordProtection"
mozilla/nss-rs#49
1 parent fa9fc98 commit d1f7c1e

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ hex = { version = "0.4", default-features = false }
3636
http = { version = "1", default-features = false, features = ["std"] }
3737
libc = { version = "0.2", default-features = false }
3838
log = { version = "0.4", default-features = false }
39-
nss = { rev = "0.9.0", package = "nss-rs", git = "https://github.com/mozilla/nss-rs" }
39+
nss = { rev = "a4c7f5a3ad673fa17deba48d25229fd2aab4f412", package = "nss-rs", git = "https://github.com/mozilla/nss-rs" }
4040
qlog = { version = "0.16.0", default-features = false }
4141
quinn-udp = { version = "0.6", default-features = false, features = ["log", "fast-apple-datapath"] }
4242
rustc-hash = { version = "2.1", default-features = false, features = [ "std" ]}

neqo-bin/src/bin/client.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@ use clap::Parser as _;
1414
)]
1515
async fn main() -> Result<(), neqo_bin::client::Error> {
1616
let args = neqo_bin::client::Args::parse();
17-
18-
#[cfg_attr(apple, expect(clippy::large_futures, reason = "OK in test code."))]
1917
neqo_bin::client::client(args).await
2018
}

neqo-bin/src/client/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,7 @@ pub async fn client(mut args: Args) -> Res<()> {
644644

645645
let handler = http3::Handler::new(to_request, args.clone());
646646

647-
Runner::new(real_local, &mut socket, client, handler, &args)
648-
.run()
649-
.await?
647+
Box::pin(Runner::new(real_local, &mut socket, client, handler, &args).run()).await?
650648
} else {
651649
let client = http09::create_client(&args, real_local, remote_addr, &host, token)
652650
.expect("failed to create client");

0 commit comments

Comments
 (0)