From efbabbb46bdcf1513c8ccb3f4cb3c66cff991c55 Mon Sep 17 00:00:00 2001 From: ruben Date: Fri, 21 Jun 2024 22:28:50 +0200 Subject: [PATCH] fmt --- h3/src/client/connection.rs | 2 +- h3/src/frame.rs | 1 - h3/src/qpack/decoder.rs | 2 +- h3/src/server/connection.rs | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/h3/src/client/connection.rs b/h3/src/client/connection.rs index 20a8eeb6..647654f4 100644 --- a/h3/src/client/connection.rs +++ b/h3/src/client/connection.rs @@ -405,7 +405,7 @@ where ))); } self.inner.process_goaway(&mut self.recv_closing, id)?; - + #[cfg(feature = "tracing")] info!("Server initiated graceful shutdown, last: StreamId({})", id); } diff --git a/h3/src/frame.rs b/h3/src/frame.rs index fc3b7ef2..0a74137d 100644 --- a/h3/src/frame.rs +++ b/h3/src/frame.rs @@ -229,7 +229,6 @@ impl FrameDecoder { match decoded { Err(frame::FrameError::UnknownFrame(_ty)) => { - #[cfg(feature = "tracing")] trace!("ignore unknown frame type {:#x}", _ty); diff --git a/h3/src/qpack/decoder.rs b/h3/src/qpack/decoder.rs index 9c7280fc..10bddb41 100644 --- a/h3/src/qpack/decoder.rs +++ b/h3/src/qpack/decoder.rs @@ -121,7 +121,7 @@ impl Decoder { while let Some(instruction) = self.parse_instruction(read)? { #[cfg(feature = "tracing")] trace!("instruction {:?}", instruction); - + match instruction { Instruction::Insert(field) => self.table.put(field)?, Instruction::TableSizeUpdate(size) => { diff --git a/h3/src/server/connection.rs b/h3/src/server/connection.rs index d1000e53..847d5dbe 100644 --- a/h3/src/server/connection.rs +++ b/h3/src/server/connection.rs @@ -371,7 +371,7 @@ where #[cfg(feature = "tracing")] trace!("Got settings > {:?}", _setting); () - }, + } &Frame::Goaway(id) => self.inner.process_goaway(&mut self.recv_closing, id)?, _frame @ Frame::MaxPushId(_) | _frame @ Frame::CancelPush(_) => { #[cfg(feature = "tracing")]