Skip to content

Commit

Permalink
fix: typo for debugging book (#2509)
Browse files Browse the repository at this point in the history
* fix: typo for debugging book

* Update docs/user-guide/debugging-pcap.md

Co-authored-by: Cameron Bytheway <[email protected]>

---------

Co-authored-by: Boquan Fang <[email protected]>
Co-authored-by: Cameron Bytheway <[email protected]>
  • Loading branch information
3 people authored Mar 4, 2025
1 parent 70e8de8 commit fbcc8fd
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit fbcc8fd

Please sign in to comment.