From 889d2b3e034e19f79876a1a34d1b49ed983efea5 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 6 Jan 2021 12:02:11 +0100 Subject: [PATCH] quinn-h3: improve trace output --- quinn-h3/src/connection.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quinn-h3/src/connection.rs b/quinn-h3/src/connection.rs index 85960cb7d..40197a6e1 100644 --- a/quinn-h3/src/connection.rs +++ b/quinn-h3/src/connection.rs @@ -304,7 +304,7 @@ impl ConnectionInner { match new_stream { NewUni::Control(stream) => match self.recv_control { None => { - trace!("Got Control stream"); + trace!("{:?} got Control stream", self.side); self.recv_control = Some(stream); self.poll_recv_control(cx)?; Ok(()) @@ -316,7 +316,7 @@ impl ConnectionInner { }, NewUni::Decoder(s) => match self.recv_decoder { None => { - trace!("Got Decoder stream"); + trace!("{:?} got Decoder stream", self.side); self.recv_decoder = Some((s, BytesMut::with_capacity(RECV_DECODER_INITIAL_CAPACITY))); Ok(()) @@ -328,7 +328,7 @@ impl ConnectionInner { }, NewUni::Encoder(s) => match self.recv_encoder { None => { - trace!("Got Encoder stream"); + trace!("{:?} got Encoder stream", self.side); self.recv_encoder = Some((s, BytesMut::with_capacity(RECV_ENCODER_INITIAL_CAPACITY))); Ok(())