mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-21 10:43:25 +00:00
Downgrade duplicate packet message to debug level
This commit is contained in:
committed by
Dirkjan Ochtman
parent
ab280e467a
commit
ca0fae8896
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user