From e8cb0c16184c7a7bf037d5db6552c12291f18b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Thu, 14 Apr 2022 22:45:29 +0200 Subject: [PATCH] udp: improve ConnectionValidator doc comment --- aquatic_udp/src/common.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aquatic_udp/src/common.rs b/aquatic_udp/src/common.rs index 573b26a..5c8024b 100644 --- a/aquatic_udp/src/common.rs +++ b/aquatic_udp/src/common.rs @@ -21,7 +21,8 @@ pub const BUFFER_SIZE: usize = 8192; /// /// Structure of created ConnectionID (bytes making up inner i64): /// - &[0..4]: connection expiration time as number of seconds after -/// ConnectionValidator instance was created, encoded as u32 bytes +/// ConnectionValidator instance was created, encoded as u32 bytes. +/// Value fits around 136 years. /// - &[4..8]: truncated keyed BLAKE3 hash of above 4 bytes and octets of /// client IP address #[derive(Clone)]