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

fix: typo for debugging book #2509

Merged
merged 2 commits into from
Mar 4, 2025
Merged
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
2 changes: 1 addition & 1 deletion docs/user-guide/debugging-pcap.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A packet capture allows for inspecting the contents of every packet transmitted
Since QUIC is an encrypted transport protocol, the payload of each packet is not readable in a standard packet capture. `s2n-quic` supports exporting the TLS session keys used by each QUIC connection so that the packet capture may be decrypted. Both the `s2n-tls` and `rustls` TLS providers support key logging through their associated builders:

```rust
let tls = s2n_quic::provider::tls::default::Serverhell::builder()
let tls = s2n_quic::provider::tls::default::Server::builder()
.with_certificate(CERT_PEM, KEY_PEM)?
.with_key_logging()? // enables key logging
.build()?;
Expand Down
Loading