From 2063ae9ab2a9f39622136f56e4d9acb57e328b5c Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Tue, 7 Nov 2023 02:11:17 +0200 Subject: [PATCH] Downgrade duplicate packet message to debug level --- quinn-proto/src/connection/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quinn-proto/src/connection/mod.rs b/quinn-proto/src/connection/mod.rs index 9f372ae14..8a115b834 100644 --- a/quinn-proto/src/connection/mod.rs +++ b/quinn-proto/src/connection/mod.rs @@ -2098,7 +2098,7 @@ impl Connection { let is_duplicate = |n| self.spaces[packet.header.space()].dedup.insert(n); if number.map_or(false, is_duplicate) { - warn!("discarding possible duplicate packet"); + debug!("discarding possible duplicate packet"); return; } else if self.state.is_handshake() && packet.header.is_short() { // TODO: SHOULD buffer these to improve reordering tolerance.