From e7c07b0b121694e71bd88e2bf452d640f26fcb3f Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Thu, 10 Aug 2017 13:34:04 -0700 Subject: [PATCH] More debug output --- src/proto/streams/recv.rs | 1 + src/proto/streams/send.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/proto/streams/recv.rs b/src/proto/streams/recv.rs index 6c25740..4fb1b59 100644 --- a/src/proto/streams/recv.rs +++ b/src/proto/streams/recv.rs @@ -121,6 +121,7 @@ impl Recv where B: Buf { stream: &mut store::Ptr) -> Result<(), ConnectionError> { + trace!("opening stream; init_window={}", self.init_window_sz); let is_initial = stream.state.recv_open(self.init_window_sz, frame.is_end_stream())?; if is_initial { diff --git a/src/proto/streams/send.rs b/src/proto/streams/send.rs index 0b2edd0..62c8084 100644 --- a/src/proto/streams/send.rs +++ b/src/proto/streams/send.rs @@ -79,7 +79,7 @@ impl Send where B: Buf { stream: &mut store::Ptr) -> Result<(), ConnectionError> { - trace!("send_headers; frame={:?}", frame); + trace!("send_headers; frame={:?}; init_window={:?}", frame, self.init_window_sz); // Update the state stream.state.send_open(self.init_window_sz, frame.is_end_stream())?;