Skip to content

Commit

Permalink
Update quinn-proto/src/connection/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
  • Loading branch information
Ralith and djc authored Jul 24, 2023
1 parent ea806ee commit 842ac7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quinn-proto/src/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3494,7 +3494,7 @@ const MAX_TRANSMIT_SEGMENTS: usize = 10;
/// Perform key updates this many packets before the AEAD confidentiality limit.
///
/// Chosen arbitrarily, intended to be large enough to prevent spurious connection loss.
const KEY_UPDATE_MARGIN: u64 = 10000;
const KEY_UPDATE_MARGIN: u64 = 10_000;

struct ZeroRttCrypto {
header: Box<dyn HeaderKey>,
Expand Down

0 comments on commit 842ac7b

Please sign in to comment.