quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.76k stars 380 forks source link

Add --keylog command line option for perf client and server binaries. #1434

Closed stormshield-damiend closed 1 year ago

stormshield-damiend commented 1 year ago

This allow dumping crypto keys to disk using SSLKEYLOGFILE env var.

djc commented 1 year ago

This seems fine, but I'm a little confused why you need/want this for the perf binary?

stormshield-damiend commented 1 year ago

This seems fine, but I'm a little confused why you need/want this for the perf binary?

We were testing and debugging a "no packet encryption" patch and other optimizations and needed to check that no encryption was applied to packet and that optimization were working as expected. I plan to do some more PRs for the "no packet encryption" patch and also to some optimizations we did.